Skip to content

Commit

Permalink
Avoid raising a RoutingError when confirming a user twice (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
micred committed Dec 27, 2022
1 parent 9d08961 commit 041002a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def show

redirect_to(redirect_to_link)
else
raise ActionController::RoutingError, 'Not Found'
redirect_to DeviseTokenAuth::Url.generate(redirect_url, account_confirmation_success: false)
end
end

Expand Down

0 comments on commit 041002a

Please sign in to comment.