From b01c02c5b895f2ec642adf08745f769d306b635a Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 25 Dec 2011 12:34:52 +0000 Subject: [PATCH] route: code layout clean up account route git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8364 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 841034d90..4f9b6618e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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'