From e66af2f0c372a886169a551feea410d7c1f0a468 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 21 Apr 2009 09:32:19 +0000 Subject: [PATCH 1/1] Connect up the versioned capabilities call again. --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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+/ -- 2.43.2