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)