[openstreetmap/openstreetmap-website] Move some api call handlers to ApiController (PR #3891)

Andy Allan notifications at github.com
Wed Jan 11 15:38:29 UTC 2023


I noticed this while I was looking at the (non-API) NotesController, which doesn't need to have any api-related error handling.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3891

-- Commit Summary --

  * Use web_timeout for notes controller
  * Move more api-related helper methods to ApiController

-- File Changes --

    M app/controllers/api_controller.rb (39)
    M app/controllers/application_controller.rb (39)
    M app/controllers/notes_controller.rb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3891.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3891.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3891
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3891 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230111/3ea1bb8f/attachment.htm>


More information about the rails-dev mailing list