From 6ee1e8d0a4a8cfe02797c1a853bf27af2610ad27 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Tue, 25 Sep 2012 09:15:47 +1000 Subject: Inline ConfigHelper force_registration_on_new_request --- app/controllers/request_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/request_controller.rb') 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") -- cgit v1.2.3