diff options
author | David Cabo <david@calibea.com> | 2011-08-08 13:22:47 +0200 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-08-11 15:01:24 +0100 |
commit | 2dd460cb432460fc32178140e3b4d6c31b55e883 (patch) | |
tree | bd567e8496154f83f3ca17d443ba643d29007ca1 /app/helpers/config_helper.rb | |
parent | 10e7ce5610731c073553072724c6ef7e44236781 (diff) |
I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable substitution in gettext strings.
Diffstat (limited to 'app/helpers/config_helper.rb')
-rw-r--r-- | app/helpers/config_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/config_helper.rb b/app/helpers/config_helper.rb new file mode 100644 index 000000000..80f2deed2 --- /dev/null +++ b/app/helpers/config_helper.rb @@ -0,0 +1,5 @@ +module ConfigHelper + def site_name + MySociety::Config.get('SITE_NAME', 'Alaveteli') + end +end
\ No newline at end of file |