Skip to content

Commit

Permalink
Change notice to success
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMacPherson committed Oct 8, 2024
1 parent 66ccf06 commit 8723345
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def create
Jobseekers::AccountMailer.request_account_transfer(jobseeker).deliver_now
end

notice_message = @request_account_transfer_email_form.email_resent ? "Email resent" : nil
redirect_to new_jobseekers_account_transfer_path(email: @request_account_transfer_email_form.email), notice: notice_message
success_message = @request_account_transfer_email_form.email_resent ? "Email resent" : nil
redirect_to new_jobseekers_account_transfer_path(email: @request_account_transfer_email_form.email), success: success_message
else
render :new
end
Expand Down

0 comments on commit 8723345

Please sign in to comment.