From 94d2a397795c8e1e5ed1a83b0763b8b8a61dfed9 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Thu, 4 Aug 2022 09:32:40 +0100 Subject: [PATCH] Back button on edit location page routes to check answers for locations (#812) * Back button on edit location page routes to check answers for locations * Update path Co-authored-by: James Rose Co-authored-by: James Rose --- 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..6e14503ed 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, anchor: "locations"), ) %> <% end %>