X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/676e624928b220fded59229738b8ae0cca744cef..a70b61315c2331c18123a0b36782d6ef6bb3ab3e:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index e03c5d632..9af0c1099 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -195,7 +195,7 @@ OpenStreetMap::Application.routes.draw do match '/traces/mine/page/:page' => 'trace#mine', :via => :get match '/traces/mine' => 'trace#mine', :via => :get match '/trace/create' => 'trace#create', :via => [:get, :post] - match '/trace/:id/data' => 'trace#data', :via => :get, :id => /\d+/ + match '/trace/:id/data' => 'trace#data', :via => :get, :id => /\d+/, :as => "trace_data" match '/trace/:id/edit' => 'trace#edit', :via => [:get, :post, :patch], :id => /\d+/, :as => "trace_edit" match '/trace/:id/delete' => 'trace#delete', :via => :post, :id => /\d+/