[openstreetmap/openstreetmap-website] Fix verification redirect on missing report category (PR #3542)
Harry Wood
notifications at github.com
Wed May 4 12:36:07 UTC 2022
One inelegant thing about this fix, is that the textbox value (which can easily be very long) will end up passed in the URL after the redirect.
<img width="668" alt="Screenshot 2022-05-04 at 13 25 34" src="https://user-images.githubusercontent.com/227525/166681817-360ae3fe-6884-4fa6-9004-5578eb562295.png">
I think it may be possible to avoid doing a `redirect_to` but instead just a `render`. I could look into that, but... maybe it's no big deal.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3542#issuecomment-1117261688
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3542/c1117261688 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220504/7ea5b929/attachment.htm>
More information about the rails-dev
mailing list