##// END OF EJS Templates
route: code layout clean up admin route...
Toshi MARUYAMA -
r8282:50d320a35ecb
parent child
Show More
@@ -271,12 +271,18 ActionController::Routing::Routes.draw do |map|
271 map.connect 'mail_handler', :controller => 'mail_handler',
271 map.connect 'mail_handler', :controller => 'mail_handler',
272 :action => 'index', :conditions => {:method => :post}
272 :action => 'index', :conditions => {:method => :post}
273
273
274 map.connect 'admin', :controller => 'admin', :action => 'index', :conditions => {:method => :get}
274 map.connect 'admin', :controller => 'admin', :action => 'index',
275 map.connect 'admin/projects', :controller => 'admin', :action => 'projects', :conditions => {:method => :get}
275 :conditions => {:method => :get}
276 map.connect 'admin/plugins', :controller => 'admin', :action => 'plugins', :conditions => {:method => :get}
276 map.connect 'admin/projects', :controller => 'admin', :action => 'projects',
277 map.connect 'admin/info', :controller => 'admin', :action => 'info', :conditions => {:method => :get}
277 :conditions => {:method => :get}
278 map.connect 'admin/test_email', :controller => 'admin', :action => 'test_email', :conditions => {:method => :get}
278 map.connect 'admin/plugins', :controller => 'admin', :action => 'plugins',
279 map.connect 'admin/default_configuration', :controller => 'admin', :action => 'default_configuration', :conditions => {:method => :post}
279 :conditions => {:method => :get}
280 map.connect 'admin/info', :controller => 'admin', :action => 'info',
281 :conditions => {:method => :get}
282 map.connect 'admin/test_email', :controller => 'admin', :action => 'test_email',
283 :conditions => {:method => :get}
284 map.connect 'admin/default_configuration', :controller => 'admin',
285 :action => 'default_configuration', :conditions => {:method => :post}
280
286
281 # Used by AuthSourcesControllerTest
287 # Used by AuthSourcesControllerTest
282 # TODO : refactor *AuthSourcesController to remove these routes
288 # TODO : refactor *AuthSourcesController to remove these routes
General Comments 0
You need to be logged in to leave comments. Login now