[openstreetmap/openstreetmap-website] API active blocks list (PR #5452)
Tom Hughes
notifications at github.com
Tue Feb 11 22:14:20 UTC 2025
@tomhughes commented on this pull request.
> @@ -0,0 +1,23 @@
+module Api
+ module UserBlocks
+ class ActiveListsController < ApiController
+ before_action :disable_blocks_check
Why use flash to smuggle the skip blocks flag to `setup_user_auth`? Could we not just pass an argument to the `authorize` callback and have that pass it on to `setup_user_auth`?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5452#pullrequestreview-2610172848
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5452/review/2610172848 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250211/d0878291/attachment.htm>
More information about the rails-dev
mailing list