Skip to content

Commit

Permalink
back link bug
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Dec 19, 2024
1 parent 5be50bf commit 710a800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/goto_confirmation_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 710a800

Please sign in to comment.