aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/config_helper.rb
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2011-09-01 02:46:22 +0200
committerDavid Cabo <david@calibea.com>2011-09-01 02:46:22 +0200
commit6a7c9cdd3c5bf3db7701ef1353f04527e96c8cc3 (patch)
tree59cfc21e66fc3c44eb01991ef03f253dcaaf010d /app/helpers/config_helper.rb
parent1fb99a4df2514cb6aea37fcf1fd4790234d77c7e (diff)
parent88c26439d7d00cc5f0e1ddcb7b0a0036fa3f9c88 (diff)
Merge branch 'asktheeu-new-design' into develop (update New Request workflow to match new wireframes)
Diffstat (limited to 'app/helpers/config_helper.rb')
-rw-r--r--app/helpers/config_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/config_helper.rb b/app/helpers/config_helper.rb
index 80f2deed2..b0381a2f5 100644
--- a/app/helpers/config_helper.rb
+++ b/app/helpers/config_helper.rb
@@ -2,4 +2,8 @@ module ConfigHelper
def site_name
MySociety::Config.get('SITE_NAME', 'Alaveteli')
end
+
+ def force_registration_on_new_request
+ MySociety::Config.get('FORCE_REGISTRATION_ON_NEW_REQUEST', false)
+ end
end \ No newline at end of file