diff --git a/app/views/locations/index.html.erb b/app/views/locations/index.html.erb index 82cc4a0c9..5f07a9a62 100644 --- a/app/views/locations/index.html.erb +++ b/app/views/locations/index.html.erb @@ -10,7 +10,7 @@ }) %> <% else %> <% content_for :before_content do %> - <%= govuk_back_link(href: "/schemes/#{@scheme.id}") %> + <%= govuk_back_link(href: scheme_path(@scheme)) %> <% end %> <% end %>