[openstreetmap/openstreetmap-website] Refactor api_call_* filters (Issue #4861)
Andy Allan
notifications at github.com
Wed May 29 18:51:09 UTC 2024
I tried this today, and one complication was related to the order of the adding the api_call_handle_error and authorizing the action - moving the handler into `api_controller` meant that `api_call_handle_error` grabbed the CanCanCan exception itself.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4861#issuecomment-2138057611
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4861/2138057611 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240529/0b7d2a96/attachment.htm>
More information about the rails-dev
mailing list