[openstreetmap/openstreetmap-website] Make API old element show paths resourceful (PR #5641)
    Anton Khorev 
    notifications at github.com
       
    Sun Feb  9 23:30:38 UTC 2025
    
    
  
Declares `versions` resources with `show` action on these API paths: `node/:id/:version`, `way/:id/:version`, `relation/:id/:version`.
You can view, comment on, or merge this pull request online at:
  https://github.com/openstreetmap/openstreetmap-website/pull/5641
-- Commit Summary --
  * Make api old element show paths resourceful
-- File Changes --
    M app/controllers/api/old_nodes_controller.rb (2)
    M app/controllers/api/old_relations_controller.rb (2)
    M app/controllers/api/old_ways_controller.rb (2)
    M app/views/old_elements/_actions.html.erb (2)
    M config/routes.rb (12)
    M test/controllers/api/old_nodes_controller_test.rb (62)
    M test/controllers/api/old_relations_controller_test.rb (86)
    M test/controllers/api/old_ways_controller_test.rb (58)
    M test/controllers/api/relations_controller_test.rb (6)
    M test/controllers/old_nodes_controller_test.rb (12)
    M test/controllers/old_relations_controller_test.rb (12)
    M test/controllers/old_ways_controller_test.rb (12)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5641.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5641.diff
-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5641
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5641 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250209/d073875a/attachment.htm>
    
    
More information about the rails-dev
mailing list