[openstreetmap/openstreetmap-website] Move element history actions to old element controllers (PR #4576)

Anton Khorev notifications at github.com
Thu Mar 14 15:26:11 UTC 2024


Now they are in `index` actions to match `show` actions from #4480.

Views and path helpers are not changed in this PR.

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Move element history actions to old element controllers

-- File Changes --

    M app/abilities/ability.rb (6)
    M app/controllers/browse_controller.rb (31)
    M app/controllers/old_nodes_controller.rb (8)
    M app/controllers/old_relations_controller.rb (8)
    M app/controllers/old_ways_controller.rb (8)
    M app/views/browse/_version_actions.erb (2)
    M app/views/browse/feature.html.erb (4)
    M app/views/browse/history.html.erb (10)
    M config/routes.rb (6)
    M test/controllers/browse_controller_test.rb (191)
    M test/controllers/old_nodes_controller_test.rb (97)
    M test/controllers/old_relations_controller_test.rb (47)
    M test/controllers/old_ways_controller_test.rb (47)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list