aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index e39865dd9..405327952 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -29,9 +29,8 @@ class ApplicationController < ActionController::Base
helper_method :site_name, :locale_from_params
def site_name
- # XXX should come from database:
- site_name = "WhatDoTheyKnow"
- return site_name
+ site_name = MySociety::Config.get('SITE_NAME', 'Alaveteli')
+ return site_name
end
# Help work out which request causes RAM spike.