aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-08-04 00:15:07 +0100
committerFrancis Irving <francis@mysociety.org>2010-08-04 00:15:07 +0100
commitcbb1023f86be15a3ce7efc9b0e54e1725c9561cf (patch)
tree98f1ba277e593b83f90237f6a8ee30a8048f0907 /app/controllers/request_controller.rb
parentce7c493b8158a29b637bef37dcf3d0d9eaa758b7 (diff)
Allow links to specific tags.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index b2f6e8631..767bb8488 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -131,6 +131,12 @@ class RequestController < ApplicationController
# Page new form posts to
def new
+ # Allow url_name
+ if !params[:public_body_url_name].nil? && params
+ end
+ if params[:submitted_new_request].nil?
+ end
+
# All new requests are of normal_sort
if !params[:outgoing_message].nil?
params[:outgoing_message][:what_doing] = 'normal_sort'