diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-07-07 09:57:56 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-07-07 09:57:56 +0100 |
commit | d4fe2f52240b85550404ddbec6691d7fad1f5c43 (patch) | |
tree | 4fb767ffa64ba3f75fef1277d491180e41a36f1b /app/controllers/application_controller.rb | |
parent | 7e6f2b0cb261265631a9d35b356b2aa79d7dadb6 (diff) |
Move various hard-coded strings to config file
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 516081d42..405327952 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -29,8 +29,7 @@ class ApplicationController < ActionController::Base helper_method :site_name, :locale_from_params def site_name - # XXX should come from database: - site_name = "InformataZyrtare.org" + site_name = MySociety::Config.get('SITE_NAME', 'Alaveteli') return site_name end |