[openstreetmap/openstreetmap-website] Allow users to delete their own accounts (PR #3398)
Tom Hughes
notifications at github.com
Wed Feb 9 19:07:32 UTC 2022
@tomhughes commented on this pull request.
> @@ -349,7 +349,7 @@ def deny_access(_exception)
elsif current_user
set_locale
respond_to do |format|
- format.html { redirect_to :controller => "errors", :action => "forbidden" }
+ format.html { redirect_to :controller => "/errors", :action => "forbidden" }
How is that even valid? That's not a controller name?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3398#pullrequestreview-877930495
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3398/review/877930495 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220209/3b7143e6/attachment.htm>
More information about the rails-dev
mailing list