Replaces the repositories management SOAP API with a simple REST API.
reposman usage is unchanged but the script now requires activeresource. actionwebservice is now longer used and thus removed from plugins. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2435 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+5
-4
@@ -246,10 +246,11 @@ ActionController::Routing::Routes.draw do |map|
|
||||
omap.repositories_entry 'repositories/annotate/:id/*path', :action => 'annotate'
|
||||
omap.connect 'repositories/revision/:id/:rev', :action => 'revision'
|
||||
end
|
||||
|
||||
# Allow downloading Web Service WSDL as a file with an extension
|
||||
# instead of a file named 'wsdl'
|
||||
map.connect ':controller/service.wsdl', :action => 'wsdl'
|
||||
|
||||
map.with_options :controller => 'sys' do |sys|
|
||||
sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get}
|
||||
sys.connect 'sys/projects/:id/repository.:format', :action => 'create_project_repository', :conditions => {:method => :post}
|
||||
end
|
||||
|
||||
# Install the default route as the lowest priority.
|
||||
map.connect ':controller/:action/:id'
|
||||
|
||||
Reference in New Issue
Block a user