Browse Source

update location path

pull/797/head
Kat 3 years ago
parent
commit
121ab174bb
  1. 2
      app/views/locations/edit.html.erb

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

@ -9,7 +9,7 @@
<%= render partial: "organisations/headings", locals: { main: "Add a location to this scheme", sub: @scheme.service_name } %>
<%= form_for(@location, method: :patch, url: location_path(location_id: @location.id)) do |f| %>
<%= form_for(@location, method: :patch, url: location_path(@location)) do |f| %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= f.govuk_error_summary %>

Loading…
Cancel
Save