]> source.dussan.org Git - redmine.git/commitdiff
Removed useless routes.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 10 Dec 2011 14:30:54 +0000 (14:30 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 10 Dec 2011 14:30:54 +0000 (14:30 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8171 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/routes.rb

index df69a496c5266ed6a5ebe35765b0098b5e672566..62b3f4b898e10f3f6a0deb819eb9ee5ff165cafa 100644 (file)
@@ -12,8 +12,6 @@ ActionController::Routing::Routes.draw do |map|
   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/login', :controller => 'account', :action => 'login', :conditions => {:method => [:get, :post]}
-  map.connect 'account/logout', :controller => 'account', :action => 'logout', :conditions => {:method => :get}
   map.connect 'account/activate', :controller => 'account', :action => 'activate', :conditions => {:method => :get}
 
   map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'