From 710a800012b4f546e7546e5c63511f65ae737d19 Mon Sep 17 00:00:00 2001 From: Iain McNulty Date: Thu, 19 Dec 2024 11:50:41 +0000 Subject: [PATCH] back link bug --- app/helpers/goto_confirmation_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/goto_confirmation_helper.rb b/app/helpers/goto_confirmation_helper.rb index 850cdb1426..d96cf1c8f0 100644 --- a/app/helpers/goto_confirmation_helper.rb +++ b/app/helpers/goto_confirmation_helper.rb @@ -48,7 +48,7 @@ def publish_back_link_for_adding_provider_partnership_path(param_form_key:, para publish_provider_recruitment_cycle_provider_partnerships_path(provider.provider_code, recruitment_cycle_year) end - return with_partnerships unless Settings.features.provider_partnerships + return with_partnerships if Settings.features.provider_partnerships if goto_confirmation?(param_form_key:, params:) check_publish_provider_recruitment_cycle_accredited_providers_path(provider.provider_code, recruitment_cycle_year)