From: Matt Amos Date: Mon, 10 Nov 2008 15:37:34 +0000 (+0000) Subject: Ooops, forgot to commit the routes for the changeset query and include calls. X-Git-Tag: live~7573^2~164 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0be6dd860f1843681e6380fbe69ca71a6eb01ab7 Ooops, forgot to commit the routes for the changeset query and include calls. --- diff --git a/config/routes.rb b/config/routes.rb index ddaaa5401..a835dc552 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,8 +6,10 @@ 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/include", :controller => 'changeset', :action => 'include', :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+/ + map.connect "api/#{API_VERSION}/changesets", :controller => 'changeset', :action => 'query' 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+/