aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
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 125791ef8..55a03e7b4 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -306,7 +306,7 @@ class RequestController < ApplicationController
# Check we have :public_body_id - spammers seem to be using :public_body
# erroneously instead
if params[:info_request][:public_body_id].blank?
- redirect_to frontpage_path && return
+ redirect_to frontpage_path and return
end
# See if the exact same request has already been submitted