Follows #5591. Renames `delete` actions to standard `destroy`. You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5617 -- Commit Summary -- * Make api show/update/destroy node actions resourceful * Make api show/update/destroy way actions resourceful * Make api show/update/destroy relation actions resourceful * Move api element show and full tests * Split api relation show/full tests * Split api way show test * Split api node show test * Test if api relation show/full responses contain required elements * Test Last-Modified header of api show element responses -- File Changes -- M app/abilities/api_ability.rb (2) M app/controllers/api/nodes_controller.rb (12) M app/controllers/api/relations_controller.rb (12) M app/controllers/api/ways_controller.rb (12) M config/routes.rb (12) M test/controllers/api/nodes_controller_test.rb (26) M test/controllers/api/relations_controller_test.rb (115) M test/controllers/api/ways_controller_test.rb (60) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5617.patch https://github.com/openstreetmap/openstreetmap-website/pull/5617.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5617 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev