Browse Source

Fix back button for local authority

pull/1870/head
Kat 3 years ago
parent
commit
24843deacf
  1. 2
      app/views/locations/local_authority.html.erb

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

@ -3,7 +3,7 @@
<% content_for :before_content do %>
<%= govuk_back_link(
href: case params[:referrer]
when "check_local_authority"
when "check_local_authority", "check_answers"
scheme_location_check_answers_path(@scheme, @location, route: params[:route])
else
scheme_location_postcode_path(@scheme, @location, route: params[:route], referrer: params[:referrer])

Loading…
Cancel
Save