##// END OF EJS Templates
Use shorter syntax for admin routes....
Jean-Philippe Lang -
r14008:97ae34c2619e
parent child
Show More
@@ -320,12 +320,12 Rails.application.routes.draw do
320 get 'mail_handler', :to => 'mail_handler#new'
320 get 'mail_handler', :to => 'mail_handler#new'
321 post 'mail_handler', :to => 'mail_handler#index'
321 post 'mail_handler', :to => 'mail_handler#index'
322
322
323 match 'admin', :controller => 'admin', :action => 'index', :via => :get
323 get 'admin', :to => 'admin#index'
324 match 'admin/projects', :controller => 'admin', :action => 'projects', :via => :get
324 get 'admin/projects', :to => 'admin#projects'
325 match 'admin/plugins', :controller => 'admin', :action => 'plugins', :via => :get
325 get 'admin/plugins', :to => 'admin#plugins'
326 match 'admin/info', :controller => 'admin', :action => 'info', :via => :get
326 get 'admin/info', :to => 'admin#info'
327 match 'admin/test_email', :controller => 'admin', :action => 'test_email', :via => :post
327 post 'admin/test_email', :to => 'admin#test_email'
328 match 'admin/default_configuration', :controller => 'admin', :action => 'default_configuration', :via => :post
328 post 'admin/default_configuration', :to => 'admin#default_configuration'
329
329
330 resources :auth_sources do
330 resources :auth_sources do
331 member do
331 member do
General Comments 0
You need to be logged in to leave comments. Login now