From 4885a6be8f58b55f86eb9d80372d76665daa9002 Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 12 Apr 2023 09:28:30 +0100 Subject: [PATCH] Update routes --- app/views/organisations/show.html.erb | 2 +- config/routes.rb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/organisations/show.html.erb b/app/views/organisations/show.html.erb index 4561e985b..78bb4f4a2 100644 --- a/app/views/organisations/show.html.erb +++ b/app/views/organisations/show.html.erb @@ -36,7 +36,7 @@ <% end %> <% end %> <% if FeatureToggle.merge_organisations_enabled? %> -

Is your organisation merging with another? <%= govuk_link_to "Let us know using this form", merge_organisation_path %>

+

Is your organisation merging with another? <%= govuk_link_to "Let us know using this form", merge_start_organisation_path %>

<% end %> diff --git a/config/routes.rb b/config/routes.rb index f6e00083b..7e691bcd4 100644 --- a/config/routes.rb +++ b/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