]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Adding a restriction to prevent more than 2000 nodes to be added to any way. Tests...
[rails.git] / config / routes.rb
index 39e2a1e749cd0cc95b223a91d689c7c70cd4a2ab..139611bc6132ede96fddf37c4bde040c804ee569 100644 (file)
@@ -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+/