X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6f1aad0d0431703cd834e2b29becf20fcbac4dab..86b4d1bc2c05a68053c7485217144a7fcf8ef4e8:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 581310068..2c7f4d0fc 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,9 +2,9 @@ ActionController::Routing::Routes.draw do |map| # API map.connect "api/#{API_VERSION}/changeset/create", :controller => 'changeset', :action => 'create' + map.connect "api/#{API_VERSION}/changeset/upload", :controller => 'changeset', :action => 'upload' map.connect "api/#{API_VERSION}/changeset/:id", :controller => 'changeset', :action => 'read' map.connect "api/#{API_VERSION}/changeset/:id/close", :controller => 'changeset', :action => 'close' - map.connect "api/#{API_VERSION}/changeset/upload", :controller => 'changeset', :action => 'upload' map.connect "api/#{API_VERSION}/node/create", :controller => 'node', :action => 'create' map.connect "api/#{API_VERSION}/node/:id/ways", :controller => 'way', :action => 'ways_for_node', :id => /\d+/