Revision 2435
Added by Jean-Philippe Lang over 16 years ago
routes.rb | ||
---|---|---|
246 | 246 |
omap.repositories_entry 'repositories/annotate/:id/*path', :action => 'annotate' |
247 | 247 |
omap.connect 'repositories/revision/:id/:rev', :action => 'revision' |
248 | 248 |
end |
249 |
|
|
250 |
# Allow downloading Web Service WSDL as a file with an extension |
|
251 |
# instead of a file named 'wsdl' |
|
252 |
map.connect ':controller/service.wsdl', :action => 'wsdl' |
|
249 |
|
|
250 |
map.with_options :controller => 'sys' do |sys| |
|
251 |
sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get} |
|
252 |
sys.connect 'sys/projects/:id/repository.:format', :action => 'create_project_repository', :conditions => {:method => :post} |
|
253 |
end |
|
253 | 254 |
|
254 | 255 |
# Install the default route as the lowest priority. |
255 | 256 |
map.connect ':controller/:action/:id' |
Also available in: Unified diff
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.