From d4fe2f52240b85550404ddbec6691d7fad1f5c43 Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Thu, 7 Jul 2011 09:57:56 +0100 Subject: Move various hard-coded strings to config file --- app/controllers/application_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/controllers/application_controller.rb') 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 -- cgit v1.2.3