From 3b44cf6f77814f4c299f91663bd7e97b7c286d56 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Thu, 4 Aug 2022 09:24:56 +0100 Subject: [PATCH] Update path 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 f592ddd4b..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: scheme_check_answers_path(@scheme.id, anchor: "locations"), + href: scheme_check_answers_path(@scheme, anchor: "locations"), ) %> <% end %>