X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/df8cd4a7b2c364864aad0e4d9f56c1a4f4f0e990..c451aa915c7012faf85fb3e973da7b14c3329720:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index e95ec1e76..f2d644719 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,7 +2,8 @@ ActionController::Routing::Routes.draw do |map| # API map.connect "api/capabilities", :controller => 'api', :action => 'capabilities' - + map.connect "api/#{API_VERSION}/capabilities", :controller => 'api', :action => 'capabilities' + 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+/