@@ -302,9 +302,15 ActionController::Routing::Routes.draw do |map| | |||||
302 | map.connect 'settings/plugin/:id', :controller => 'settings', :action => 'plugin', :conditions => {:method => [:get, :post]} |
|
302 | map.connect 'settings/plugin/:id', :controller => 'settings', :action => 'plugin', :conditions => {:method => [:get, :post]} | |
303 |
|
303 | |||
304 | map.with_options :controller => 'sys' do |sys| |
|
304 | map.with_options :controller => 'sys' do |sys| | |
305 | sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get} |
|
305 | sys.connect 'sys/projects.:format', | |
306 | sys.connect 'sys/projects/:id/repository.:format', :action => 'create_project_repository', :conditions => {:method => :post} |
|
306 | :action => 'projects', | |
307 | sys.connect 'sys/fetch_changesets', :action => 'fetch_changesets', :conditions => {:method => :get} |
|
307 | :conditions => {:method => :get} | |
|
308 | sys.connect 'sys/projects/:id/repository.:format', | |||
|
309 | :action => 'create_project_repository', | |||
|
310 | :conditions => {:method => :post} | |||
|
311 | sys.connect 'sys/fetch_changesets', | |||
|
312 | :action => 'fetch_changesets', | |||
|
313 | :conditions => {:method => :get} | |||
308 | end |
|
314 | end | |
309 |
|
315 | |||
310 | map.connect 'robots.txt', :controller => 'welcome', :action => 'robots', :conditions => {:method => :get} |
|
316 | map.connect 'robots.txt', :controller => 'welcome', :action => 'robots', :conditions => {:method => :get} |
General Comments 0
You need to be logged in to leave comments.
Login now