mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Use shorter syntax for admin routes.
git-svn-id: http://svn.redmine.org/redmine/trunk@14390 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
670340e543
commit
97ae34c261
@ -320,12 +320,12 @@ Rails.application.routes.draw do
|
|||||||
get 'mail_handler', :to => 'mail_handler#new'
|
get 'mail_handler', :to => 'mail_handler#new'
|
||||||
post 'mail_handler', :to => 'mail_handler#index'
|
post 'mail_handler', :to => 'mail_handler#index'
|
||||||
|
|
||||||
match 'admin', :controller => 'admin', :action => 'index', :via => :get
|
get 'admin', :to => 'admin#index'
|
||||||
match 'admin/projects', :controller => 'admin', :action => 'projects', :via => :get
|
get 'admin/projects', :to => 'admin#projects'
|
||||||
match 'admin/plugins', :controller => 'admin', :action => 'plugins', :via => :get
|
get 'admin/plugins', :to => 'admin#plugins'
|
||||||
match 'admin/info', :controller => 'admin', :action => 'info', :via => :get
|
get 'admin/info', :to => 'admin#info'
|
||||||
match 'admin/test_email', :controller => 'admin', :action => 'test_email', :via => :post
|
post 'admin/test_email', :to => 'admin#test_email'
|
||||||
match 'admin/default_configuration', :controller => 'admin', :action => 'default_configuration', :via => :post
|
post 'admin/default_configuration', :to => 'admin#default_configuration'
|
||||||
|
|
||||||
resources :auth_sources do
|
resources :auth_sources do
|
||||||
member do
|
member do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user