Browse Source

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 <james@jbpr.net>

Co-authored-by: James Rose <james@jbpr.net>
pull/831/head v0.2.4
kosiakkatrina 2 years ago committed by GitHub
parent
commit
94d2a39779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/locations/edit.html.erb

2
app/views/locations/edit.html.erb

@ -3,7 +3,7 @@
<% content_for :before_content do %> <% content_for :before_content do %>
<%= govuk_back_link( <%= govuk_back_link(
text: "Back", text: "Back",
href: "/schemes/#{@scheme.id}/support", href: scheme_check_answers_path(@scheme, anchor: "locations"),
) %> ) %>
<% end %> <% end %>

Loading…
Cancel
Save