##// END OF EJS Templates
route: code layout clean up workflows route...
Toshi MARUYAMA -
r8292:02c7772cd01e
parent child
Show More
@@ -325,9 +325,13 ActionController::Routing::Routes.draw do |map|
325 map.connect 'ldap_auth_sources/update/:id', :controller => 'ldap_auth_sources',
325 map.connect 'ldap_auth_sources/update/:id', :controller => 'ldap_auth_sources',
326 :action => 'update', :id => /\d+/, :conditions => {:method => :post}
326 :action => 'update', :id => /\d+/, :conditions => {:method => :post}
327
327
328 map.connect 'workflows', :controller => 'workflows', :action => 'index', :conditions => {:method => :get}
328 map.connect 'workflows', :controller => 'workflows',
329 map.connect 'workflows/edit', :controller => 'workflows', :action => 'edit', :conditions => {:method => [:get, :post]}
329 :action => 'index', :conditions => {:method => :get}
330 map.connect 'workflows/copy', :controller => 'workflows', :action => 'copy', :conditions => {:method => [:get, :post]}
330 map.connect 'workflows/edit', :controller => 'workflows',
331 :action => 'edit', :conditions => {:method => [:get, :post]}
332 map.connect 'workflows/copy', :controller => 'workflows',
333 :action => 'copy', :conditions => {:method => [:get, :post]}
334
331 map.connect 'settings', :controller => 'settings', :action => 'index', :conditions => {:method => :get}
335 map.connect 'settings', :controller => 'settings', :action => 'index', :conditions => {:method => :get}
332 map.connect 'settings/edit', :controller => 'settings', :action => 'edit', :conditions => {:method => [:get, :post]}
336 map.connect 'settings/edit', :controller => 'settings', :action => 'edit', :conditions => {:method => [:get, :post]}
333 map.connect 'settings/plugin/:id', :controller => 'settings', :action => 'plugin', :conditions => {:method => [:get, :post]}
337 map.connect 'settings/plugin/:id', :controller => 'settings', :action => 'plugin', :conditions => {:method => [:get, :post]}
General Comments 0
You need to be logged in to leave comments. Login now