[openstreetmap/openstreetmap-website] Use the conventional 'destroy' action name for destroying traces (#2450)
notifications at github.com
Wed Dec 4 11:23:03 UTC 2019
This PR changes the action for destroying traces from 'delete' to 'destroy'. It brings it in line with rails conventions. The api/traces_controller already uses destroy.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Use the conventional 'destroy' method name for destroying traces
-- File Changes --
M app/abilities/ability.rb (2)
M app/controllers/traces_controller.rb (6)
M app/views/traces/show.html.erb (2)
M config/routes.rb (1)
M test/controllers/traces_controller_test.rb (22)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev