X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e48cbc6a5f54a0e18dc581ccbac3b13284313125..cddded9569d2c5b5c9e82a7bdbb3669be6e23b25:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 9196fae1b..2c7f4d0fc 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,8 +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/:id", :controller => 'changeset', :action => 'read' 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}/node/create", :controller => 'node', :action => 'create' map.connect "api/#{API_VERSION}/node/:id/ways", :controller => 'way', :action => 'ways_for_node', :id => /\d+/