diff --git a/app/views/locations/check_answers.html.erb b/app/views/locations/check_answers.html.erb index c48a9f149..4c2eab399 100644 --- a/app/views/locations/check_answers.html.erb +++ b/app/views/locations/check_answers.html.erb @@ -4,7 +4,7 @@ <% content_for :before_content do %> <%= govuk_back_link( text: "Back", - href: scheme_locations_path(@scheme), + href: :back, ) %> <% end %> diff --git a/app/views/locations/mobility_standards.html.erb b/app/views/locations/mobility_standards.html.erb index f8120b2e4..e98137818 100644 --- a/app/views/locations/mobility_standards.html.erb +++ b/app/views/locations/mobility_standards.html.erb @@ -3,7 +3,7 @@ <% content_for :before_content do %> <%= govuk_back_link( text: "Back", - href: "/schemes/#{@scheme.id}/support", + href: :back, ) %> <% end %> diff --git a/app/views/locations/name.html.erb b/app/views/locations/name.html.erb index 0a400b45a..a00bad679 100644 --- a/app/views/locations/name.html.erb +++ b/app/views/locations/name.html.erb @@ -3,7 +3,7 @@ <% content_for :before_content do %> <%= govuk_back_link( text: "Back", - href: scheme_locations_path(@scheme), + href: :back, ) %> <% end %> diff --git a/app/views/locations/postcode.html.erb b/app/views/locations/postcode.html.erb index b238748b2..2061c5754 100644 --- a/app/views/locations/postcode.html.erb +++ b/app/views/locations/postcode.html.erb @@ -3,7 +3,7 @@ <% content_for :before_content do %> <%= govuk_back_link( text: "Back", - href: scheme_locations_path(@scheme), + href: :back, ) %> <% end %> diff --git a/app/views/locations/startdate.html.erb b/app/views/locations/startdate.html.erb index 7c9e08dd5..e0e25ce5f 100644 --- a/app/views/locations/startdate.html.erb +++ b/app/views/locations/startdate.html.erb @@ -3,7 +3,7 @@ <% content_for :before_content do %> <%= govuk_back_link( text: "Back", - href: scheme_locations_path(@scheme), + href: :back, ) %> <% end %> diff --git a/app/views/locations/type_of_unit.html.erb b/app/views/locations/type_of_unit.html.erb index 947db1dc1..4170d4ffa 100644 --- a/app/views/locations/type_of_unit.html.erb +++ b/app/views/locations/type_of_unit.html.erb @@ -3,7 +3,7 @@ <% content_for :before_content do %> <%= govuk_back_link( text: "Back", - href: scheme_locations_path(@scheme), + href: :back, ) %> <% end %> diff --git a/app/views/locations/units.html.erb b/app/views/locations/units.html.erb index 11f854e3c..c4bddea5b 100644 --- a/app/views/locations/units.html.erb +++ b/app/views/locations/units.html.erb @@ -3,7 +3,7 @@ <% content_for :before_content do %> <%= govuk_back_link( text: "Back", - href: scheme_locations_path(@scheme), + href: :back, ) %> <% end %> diff --git a/db/schema.rb b/db/schema.rb index 9df577686..ff2619f43 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -374,15 +374,15 @@ ActiveRecord::Schema[7.0].define(version: 2022_11_22_130928) do t.integer "la_known" t.integer "income1" t.integer "income1nk" - t.integer "details_known_2" - t.integer "details_known_3" - t.integer "details_known_4" t.integer "age4" t.integer "age4_known" t.integer "age5" t.integer "age5_known" t.integer "age6" t.integer "age6_known" + t.integer "details_known_2" + t.integer "details_known_3" + t.integer "details_known_4" t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id" t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"