route: code layout clean up account route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8364 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2d7b57809d
commit
b01c02c5b8
|
@ -8,11 +8,16 @@ ActionController::Routing::Routes.draw do |map|
|
|||
|
||||
map.home '', :controller => 'welcome', :conditions => {:method => :get}
|
||||
|
||||
map.signin 'login', :controller => 'account', :action => 'login', :conditions => {:method => [:get, :post]}
|
||||
map.signout 'logout', :controller => 'account', :action => 'logout', :conditions => {:method => :get}
|
||||
map.connect 'account/register', :controller => 'account', :action => 'register', :conditions => {:method => [:get, :post]}
|
||||
map.connect 'account/lost_password', :controller => 'account', :action => 'lost_password', :conditions => {:method => [:get, :post]}
|
||||
map.connect 'account/activate', :controller => 'account', :action => 'activate', :conditions => {:method => :get}
|
||||
map.signin 'login', :controller => 'account', :action => 'login',
|
||||
:conditions => {:method => [:get, :post]}
|
||||
map.signout 'logout', :controller => 'account', :action => 'logout',
|
||||
:conditions => {:method => :get}
|
||||
map.connect 'account/register', :controller => 'account', :action => 'register',
|
||||
:conditions => {:method => [:get, :post]}
|
||||
map.connect 'account/lost_password', :controller => 'account', :action => 'lost_password',
|
||||
:conditions => {:method => [:get, :post]}
|
||||
map.connect 'account/activate', :controller => 'account', :action => 'activate',
|
||||
:conditions => {:method => :get}
|
||||
|
||||
map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
|
||||
|
||||
|
|
Loading…
Reference in New Issue