Mercurial > hg > soundsoftware-site
diff config/routes.rb @ 214:e0cbb39c0429 feature_73
* Add method to retrieve external repo URL (via /sys/projects/<id>/external-repository.xml?key=<key>)
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 10 Feb 2011 14:40:44 +0000 |
parents | 94944d00e43c |
children | 6c282df74a30 |
line wrap: on
line diff
--- a/config/routes.rb Tue Feb 08 13:24:51 2011 +0000 +++ b/config/routes.rb Thu Feb 10 14:40:44 2011 +0000 @@ -236,6 +236,7 @@ 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} + sys.connect 'sys/projects/:id/external-repository.:format', :action => 'get_external_repo_url', :conditions => {:method => :get} end # Install the default route as the lowest priority.