X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dc2a95903722644f6109244cec9a2d1e195fef0e..635daf1773f5e2795c87619aa527adde965ce938:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 39e2a1e74..139611bc6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,6 +5,7 @@ ActionController::Routing::Routes.draw do |map| map.connect "api/#{API_VERSION}/changeset/create", :controller => 'changeset', :action => 'create' map.connect "api/#{API_VERSION}/changeset/:id/upload", :controller => 'changeset', :action => 'upload', :id => /\d+/ + map.connect "api/#{API_VERSION}/changeset/:id/download", :controller => 'changeset', :action => 'download', :id => /\d+/ map.connect "api/#{API_VERSION}/changeset/:id", :controller => 'changeset', :action => 'read', :id => /\d+/ map.connect "api/#{API_VERSION}/changeset/:id/close", :controller => 'changeset', :action => 'close', :id =>/\d+/