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'