]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Use the conventional 'destroy' method name for destroying traces
[rails.git] / config / routes.rb
index d936072d78e7cee4b6d2e12841671c8c14bff41a..d61da1ea93872cd20429b60728fa00a91bb5e86c 100644 (file)
@@ -208,7 +208,6 @@ OpenStreetMap::Application.routes.draw do
   get "/trace/create", :to => redirect(:path => "/traces/new")
   get "/trace/:id/data" => "traces#data", :id => /\d+/, :as => "trace_data"
   get "/trace/:id/edit", :to => redirect(:path => "/traces/%{id}/edit")
-  post "/trace/:id/delete" => "traces#delete", :id => /\d+/
 
   # diary pages
   resources :diary_entries, :path => "diary", :only => [:new, :create, :index] do