]> source.dussan.org Git - redmine.git/commitdiff
route: code layout clean up account route
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 25 Dec 2011 12:34:52 +0000 (12:34 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 25 Dec 2011 12:34:52 +0000 (12:34 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8364 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/routes.rb

index 841034d90e26789fa6d26293ab9a80c29e616753..4f9b6618ee18373bc16760374906304799346233 100644 (file)
@@ -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'