Skip to content

Instantly share code, notes, and snippets.

@markmcspadden
Created January 28, 2010 20:38
Show Gist options
  • Save markmcspadden/289117 to your computer and use it in GitHub Desktop.
Save markmcspadden/289117 to your computer and use it in GitHub Desktop.
module ApplicationHelper
def site_name
@@site_name ||= MyConfig['site_name']
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment