X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/668f8020ccbf544de89822415e342c1c60826dfe..01cfcbd845c5d8d33f83bb22a24cf35932da2e29:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 20bf02ce7..1a3d2f85d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -19,6 +19,11 @@ ActionController::Routing::Routes.draw do |map| map.connect "api/#{API_VERSION}/map", :controller => 'api', :action => '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/:id/details", :controller => 'trace', :action => 'api_details' + map.connect "api/#{API_VERSION}/gpx/:id/data", :controller => 'trace', :action => 'api_data' # web site