aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2012-09-25 09:15:47 +1000
committerMatthew Landauer <matthew@openaustralia.org>2012-09-25 09:15:47 +1000
commit6ee1e8d0a4a8cfe02797c1a853bf27af2610ad27 (patch)
tree8e46da78fec42c9df59c1fe4923895d74229a5bc /app/controllers/request_controller.rb
parent5e3e0ae67f6afa0fa648b7015e89871bee22b23f (diff)
Inline ConfigHelper force_registration_on_new_request
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index 9ad328a0c..07d188079 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -30,7 +30,7 @@ class RequestController < ApplicationController
def select_authority
# Check whether we force the user to sign in right at the start, or we allow her
# to start filling the request anonymously
- if force_registration_on_new_request && !authenticated?(
+ if Configuration::force_registration_on_new_request && !authenticated?(
:web => _("To send your FOI request"),
:email => _("Then you'll be allowed to send FOI requests."),
:email_subject => _("Confirm your email address")