X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/08b71b48e12ed1d34e8a807d913dbf9714635fc6..44051f30d8a65a49a8db020bedefa632a446c666:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index ae7acc199..482c5c6cb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -37,7 +37,7 @@ ActionController::Routing::Routes.draw do |map| map.connect "api/#{API_VERSION}/user/details", :controller => 'user', :action => 'api_details' map.connect "api/#{API_VERSION}/user/gpx_files", :controller => 'user', :action => 'api_gpx_files' - map.connect "api/#{API_VERSION}/gpx/create/:filename/:description/:tags", :controller => 'trace', :action => 'api_create' + map.connect "api/#{API_VERSION}/gpx/create", :controller => 'trace', :action => 'api_create' map.connect "api/#{API_VERSION}/gpx/:id/details", :controller => 'trace', :action => 'api_details' map.connect "api/#{API_VERSION}/gpx/:id/data", :controller => 'trace', :action => 'api_data'