Mercurial > hg > soundsoftware-site
comparison config/routes.rb @ 318:f7c525dc7585 luisf
Merge from branch "live"
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 28 Mar 2011 18:17:06 +0100 |
parents | 6c56a595dc1c |
children | ebf53b46f3f3 |
comparison
equal
deleted
inserted
replaced
297:e941e6aa2b7c | 318:f7c525dc7585 |
---|---|
234 end | 234 end |
235 | 235 |
236 map.with_options :controller => 'sys' do |sys| | 236 map.with_options :controller => 'sys' do |sys| |
237 sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get} | 237 sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get} |
238 sys.connect 'sys/projects/:id/repository.:format', :action => 'create_project_repository', :conditions => {:method => :post} | 238 sys.connect 'sys/projects/:id/repository.:format', :action => 'create_project_repository', :conditions => {:method => :post} |
239 sys.connect 'sys/projects/:id/external-repository.:format', :action => 'get_external_repo_url', :conditions => {:method => :get} | |
239 sys.connect 'sys/projects/:id/embedded.:format', :action => 'set_embedded_active', :conditions => { :method => :post } | 240 sys.connect 'sys/projects/:id/embedded.:format', :action => 'set_embedded_active', :conditions => { :method => :post } |
240 end | 241 end |
241 | 242 |
242 # Install the default route as the lowest priority. | 243 # Install the default route as the lowest priority. |
243 map.connect ':controller/:action/:id' | 244 map.connect ':controller/:action/:id' |