Fixed routing bug in last commit.
This commit is contained in:
parent
f49c6493f4
commit
61a87dacb6
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
map.root :controller => 'home', :action => 'index'
|
map.root :controller => 'home', :action => 'index'
|
||||||
|
|
||||||
# User specific
|
# User specific
|
||||||
map.login "/login", :controller => 'login', :action => 'login'
|
map.login "/login", :controller => 'login', :action => 'index'
|
||||||
map.logout '/logout', :controller => 'login', :action => 'logout'
|
map.logout '/logout', :controller => 'login', :action => 'logout'
|
||||||
map.my_profile '/home/profile', :controller => 'home', :action => 'profile'
|
map.my_profile '/home/profile', :controller => 'home', :action => 'profile'
|
||||||
map.my_ordergroup '/home/ordergroup', :controller => 'home', :action => 'ordergroup'
|
map.my_ordergroup '/home/ordergroup', :controller => 'home', :action => 'ordergroup'
|
||||||
|
|
Loading…
Reference in a new issue