Browse Source

Update routes

CLDC-2055-which-organisations-are-merging
Kat 2 years ago
parent
commit
4885a6be8f
  1. 2
      app/views/organisations/show.html.erb
  2. 3
      config/routes.rb

2
app/views/organisations/show.html.erb

@ -36,7 +36,7 @@
<% end %>
<% end %>
<% if FeatureToggle.merge_organisations_enabled? %>
<p>Is your organisation merging with another? <%= govuk_link_to "Let us know using this form", merge_organisation_path %></p>
<p>Is your organisation merging with another? <%= govuk_link_to "Let us know using this form", merge_start_organisation_path %></p>
<% end %>
</div>

3
config/routes.rb

@ -120,6 +120,9 @@ Rails.application.routes.draw do
post "managing-agents", to: "organisation_relationships#create_managing_agent"
delete "managing-agents", to: "organisation_relationships#delete_managing_agent"
get "merge", to: "organisations#merge"
get "merge/start", to: "merge#start"
get "merge/organisations", to: "merge#organisations"
patch "merge/organisations", to: "merge#organisations"
end
end

Loading…
Cancel
Save