[openstreetmap/openstreetmap-website] Move current element actions to their own controllers (PR #4579)

Anton Khorev notifications at github.com
Fri Mar 15 00:31:34 UTC 2024


Continuing #4576, now moving `show` actions from Browse controller to Nodes/Ways/RelationsController.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Move current element actions to their own controllers

-- File Changes --

    M app/abilities/ability.rb (3)
    M app/controllers/browse_controller.rb (24)
    A app/controllers/nodes_controller.rb (20)
    A app/controllers/relations_controller.rb (20)
    A app/controllers/ways_controller.rb (20)
    M app/helpers/geocoder_helper.rb (2)
    M app/views/browse/_relation_member.html.erb (2)
    M app/views/browse/_version_actions.erb (2)
    M app/views/browse/feature.html.erb (2)
    M app/views/browse/history.html.erb (2)
    M config/routes.rb (6)
    M test/controllers/browse_controller_test.rb (131)
    A test/controllers/nodes_controller_test.rb (85)
    A test/controllers/relations_controller_test.rb (31)
    M test/controllers/site_controller_test.rb (14)
    A test/controllers/ways_controller_test.rb (31)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/4579 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240314/7935821b/attachment.htm>


More information about the rails-dev mailing list