[openstreetmap/openstreetmap-website] Move trace pictures/icons into their own controllers (PR #4629)

Anton Khorev notifications at github.com
Wed Mar 27 10:35:33 UTC 2024


I put them in a module, like was done in https://github.com/openstreetmap/openstreetmap-website/commit/6c1d73a509a1ac2216a704f3dc5534d573e5d7ae with DeletionsController.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Move trace pictures/icons into their own controllers

-- File Changes --

    M app/abilities/ability.rb (2)
    A app/controllers/traces/icons_controller.rb (29)
    A app/controllers/traces/pictures_controller.rb (29)
    M app/controllers/traces_controller.rb (42)
    M config/routes.rb (6)
    A test/controllers/traces/icons_controller_test.rb (76)
    A test/controllers/traces/pictures_controller_test.rb (76)
    M test/controllers/traces_controller_test.rb (128)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/4629 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240327/5aae1b0a/attachment.htm>


More information about the rails-dev mailing list