From a1e162d1f5b972dbdc006d4e41cc7f3cfddf7807 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 4 Aug 2022 09:14:18 +0100 Subject: [PATCH] Back button on edit location page routes to check answers for locations --- app/views/locations/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/locations/edit.html.erb b/app/views/locations/edit.html.erb index f4b74caf3..f592ddd4b 100644 --- a/app/views/locations/edit.html.erb +++ b/app/views/locations/edit.html.erb @@ -3,7 +3,7 @@ <% content_for :before_content do %> <%= govuk_back_link( text: "Back", - href: "/schemes/#{@scheme.id}/support", + href: scheme_check_answers_path(@scheme.id, anchor: "locations"), ) %> <% end %>