##// END OF EJS Templates
route: code layout clean up settings route...
Toshi MARUYAMA -
r8293:2be616b93158
parent child
Show More
@@ -332,9 +332,12 ActionController::Routing::Routes.draw do |map|
332 332 map.connect 'workflows/copy', :controller => 'workflows',
333 333 :action => 'copy', :conditions => {:method => [:get, :post]}
334 334
335 map.connect 'settings', :controller => 'settings', :action => 'index', :conditions => {:method => :get}
336 map.connect 'settings/edit', :controller => 'settings', :action => 'edit', :conditions => {:method => [:get, :post]}
337 map.connect 'settings/plugin/:id', :controller => 'settings', :action => 'plugin', :conditions => {:method => [:get, :post]}
335 map.connect 'settings', :controller => 'settings',
336 :action => 'index', :conditions => {:method => :get}
337 map.connect 'settings/edit', :controller => 'settings',
338 :action => 'edit', :conditions => {:method => [:get, :post]}
339 map.connect 'settings/plugin/:id', :controller => 'settings',
340 :action => 'plugin', :conditions => {:method => [:get, :post]}
338 341
339 342 map.with_options :controller => 'sys' do |sys|
340 343 sys.connect 'sys/projects.:format',
General Comments 0
You need to be logged in to leave comments. Login now