From 488b72661cca54064983e6af9c83e7401f6c341f Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Tue, 9 Jan 2024 09:53:48 +0000 Subject: [PATCH] Fix broken unhappy link Broken since https://github.com/mysociety/alaveteli/pull/7984 --- lib/views/help/unhappy.html.erb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/views/help/unhappy.html.erb b/lib/views/help/unhappy.html.erb index 052d8b60..4db4b428 100644 --- a/lib/views/help/unhappy.html.erb +++ b/lib/views/help/unhappy.html.erb @@ -60,10 +60,9 @@
<% if @info_request %> - <% path = new_request_followup_url(request_id: @info_request.id) + - "?internal_review=1#followup" %> - - Choose <%= link_to "request an internal review", path %> and then write a + Choose <%= link_to "request an internal review", new_request_followup_url( + @info_request.url_title, anchor: 'followup', internal_review: 1 + ) %> and then write a message asking the authority to review your request. <% else %> At the bottom of the relevant request page on WhatDoTheyKnow choose