aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/request/_sidebar.html.erb2
-rw-r--r--app/views/request/new_report_request.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/request/_sidebar.html.erb b/app/views/request/_sidebar.html.erb
index 5ee1d9333..03185c44b 100644
--- a/app/views/request/_sidebar.html.erb
+++ b/app/views/request/_sidebar.html.erb
@@ -25,7 +25,7 @@
<% else %>
<p><%= _('Requests for personal information and vexatious requests are not considered valid for FOI purposes (<a href="/help/about">read more</a>).') %></p>
<p><%= _('If you believe this request is not suitable, you can report it for attention by the site administrators') %></p>
- <%= link_to _("Report this request"), new_report_request_path(:url_title => @info_request.url_title) %>
+ <%= link_to _("Report this request"), new_request_report_path(:url_title => @info_request.url_title) %>
<% end %>
<% end %>
<h2><%= _("Act on what you've learnt") %></h2>
diff --git a/app/views/request/new_report_request.html.erb b/app/views/request/new_report_request.html.erb
index 4ac110f80..11b682282 100644
--- a/app/views/request/new_report_request.html.erb
+++ b/app/views/request/new_report_request.html.erb
@@ -8,7 +8,7 @@
</p>
<p>Why specifically do you consider this request unsuitable?</p>
- <%= form_tag report_path(:url_title => @info_request.url_title) do %>
+ <%= form_tag request_report_path(:url_title => @info_request.url_title) do %>
<p>
<label class="form_label" for="reason">Reason:</label>
<%= select_tag :reason, options_for_select(["Contains defamatory material", "Not a valid request", "Request for personal information", "Contains personal information", "Vexatious", "Other"]), :prompt => "Choose a reason" %>