Implemented osmChange diff downloads for changesets and a couple of tests.

This commit is contained in:
Matt Amos 2008-10-27 17:50:28 +00:00
parent 46d5291350
commit 8a57904398
3 changed files with 174 additions and 0 deletions

View 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+/