[openstreetmap/openstreetmap-website] Use the conventional 'destroy' action name for destroying traces (#2450)
    Andy Allan 
    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:
  https://github.com/openstreetmap/openstreetmap-website/pull/2450
-- 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 --
https://github.com/openstreetmap/openstreetmap-website/pull/2450.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2450.diff
-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191204/bf22e759/attachment.html>
    
    
More information about the rails-dev
mailing list