Add support for accessing changesets as XML through the API via the

changeset controller "read" method
This commit is contained in:
Christopher Schmidt 2008-05-11 20:03:17 +00:00
parent 7a216c0ce6
commit e48cbc6a5f
3 changed files with 43 additions and 0 deletions

View file

@ -2,6 +2,7 @@ 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}/node/create", :controller => 'node', :action => 'create'