Fixed routing bug in last commit.

This commit is contained in:
Benjamin Meichsner 2010-03-21 00:08:02 +01:00
parent f49c6493f4
commit 61a87dacb6

View file

@ -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'