##// END OF EJS Templates
route: code layout clean up ldap_auth_sources route...
Toshi MARUYAMA -
r8291:aac01fbf22b5
parent child
Show More
@@ -310,13 +310,21 ActionController::Routing::Routes.draw do |map|
310 map.connect 'auth_sources/update/:id', :controller => 'auth_sources',
310 map.connect 'auth_sources/update/:id', :controller => 'auth_sources',
311 :action => 'update', :id => /\d+/, :conditions => {:method => :post}
311 :action => 'update', :id => /\d+/, :conditions => {:method => :post}
312
312
313 map.connect 'ldap_auth_sources', :controller => 'ldap_auth_sources', :action => 'index', :conditions => {:method => :get}
313 map.connect 'ldap_auth_sources', :controller => 'ldap_auth_sources',
314 map.connect 'ldap_auth_sources/new', :controller => 'ldap_auth_sources', :action => 'new', :conditions => {:method => :get}
314 :action => 'index', :conditions => {:method => :get}
315 map.connect 'ldap_auth_sources/create', :controller => 'ldap_auth_sources', :action => 'create', :conditions => {:method => :post}
315 map.connect 'ldap_auth_sources/new', :controller => 'ldap_auth_sources',
316 map.connect 'ldap_auth_sources/destroy/:id', :controller => 'ldap_auth_sources', :action => 'destroy', :id => /\d+/, :conditions => {:method => :post}
316 :action => 'new', :conditions => {:method => :get}
317 map.connect 'ldap_auth_sources/test_connection/:id', :controller => 'ldap_auth_sources', :action => 'test_connection', :conditions => {:method => :get}
317 map.connect 'ldap_auth_sources/create', :controller => 'ldap_auth_sources',
318 map.connect 'ldap_auth_sources/edit/:id', :controller => 'ldap_auth_sources', :action => 'edit', :id => /\d+/, :conditions => {:method => :get}
318 :action => 'create', :conditions => {:method => :post}
319 map.connect 'ldap_auth_sources/update/:id', :controller => 'ldap_auth_sources', :action => 'update', :id => /\d+/, :conditions => {:method => :post}
319 map.connect 'ldap_auth_sources/destroy/:id', :controller => 'ldap_auth_sources',
320 :action => 'destroy', :id => /\d+/, :conditions => {:method => :post}
321 map.connect 'ldap_auth_sources/test_connection/:id', :controller => 'ldap_auth_sources',
322 :action => 'test_connection', :conditions => {:method => :get}
323 map.connect 'ldap_auth_sources/edit/:id', :controller => 'ldap_auth_sources',
324 :action => 'edit', :id => /\d+/, :conditions => {:method => :get}
325 map.connect 'ldap_auth_sources/update/:id', :controller => 'ldap_auth_sources',
326 :action => 'update', :id => /\d+/, :conditions => {:method => :post}
327
320 map.connect 'workflows', :controller => 'workflows', :action => 'index', :conditions => {:method => :get}
328 map.connect 'workflows', :controller => 'workflows', :action => 'index', :conditions => {:method => :get}
321 map.connect 'workflows/edit', :controller => 'workflows', :action => 'edit', :conditions => {:method => [:get, :post]}
329 map.connect 'workflows/edit', :controller => 'workflows', :action => 'edit', :conditions => {:method => [:get, :post]}
322 map.connect 'workflows/copy', :controller => 'workflows', :action => 'copy', :conditions => {:method => [:get, :post]}
330 map.connect 'workflows/copy', :controller => 'workflows', :action => 'copy', :conditions => {:method => [:get, :post]}
General Comments 0
You need to be logged in to leave comments. Login now