summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-12 17:58:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-12 17:58:46 +0000
commitc5d998528fedb6652074c06132cabd9435a4d5be (patch)
tree3ade6617f59c302f6bcc0f62133cf84c5c9fe907 /config
parent93ef8b7f77ec84bef19d7a872a15b8d406cdb46e (diff)
downloadredmine-c5d998528fedb6652074c06132cabd9435a4d5be.tar.gz
redmine-c5d998528fedb6652074c06132cabd9435a4d5be.zip
The following menus can now be extended by plugins: top_menu, account_menu, application_menu (empty by default).
Sligth layout change: links in the top menu are now li elements. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1137 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index febb5e247..2610c2623 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -7,7 +7,9 @@ ActionController::Routing::Routes.draw do |map|
# Keep in mind you can assign values other than :controller and :action
map.home '', :controller => 'welcome'
-
+ map.signin 'login', :controller => 'account', :action => 'login'
+ map.signout 'logout', :controller => 'account', :action => 'logout'
+
map.connect 'wiki/:id/:page/:action', :controller => 'wiki', :page => nil
map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
map.connect 'help/:ctrl/:page', :controller => 'help'