summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-13 12:25:01 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-13 12:25:01 +0000
commitad497bdcbabbd1a3863846ff7a0cded369593f04 (patch)
tree539cc41701369ac71ffa23eff092599b8f57cbe9 /lib/redmine.rb
parent7b8a4fc28bd22e8e463cc6c40be99766f0cc1410 (diff)
downloadredmine-ad497bdcbabbd1a3863846ff7a0cded369593f04.tar.gz
redmine-ad497bdcbabbd1a3863846ff7a0cded369593f04.zip
Admin and Help links at the end of top menu.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1661 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 6db32340f..22b60e949 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -98,8 +98,8 @@ Redmine::MenuManager.map :top_menu do |menu|
menu.push :home, :home_path, :html => { :class => 'home' }
menu.push :my_page, { :controller => 'my', :action => 'page' }, :html => { :class => 'mypage' }, :if => Proc.new { User.current.logged? }
menu.push :projects, { :controller => 'projects', :action => 'index' }, :caption => :label_project_plural, :html => { :class => 'projects' }
- menu.push :administration, { :controller => 'admin', :action => 'index' }, :html => { :class => 'admin' }, :if => Proc.new { User.current.admin? }
- menu.push :help, Redmine::Info.help_url, :html => { :class => 'help' }
+ menu.push :administration, { :controller => 'admin', :action => 'index' }, :html => { :class => 'admin' }, :if => Proc.new { User.current.admin? }, :last => true
+ menu.push :help, Redmine::Info.help_url, :html => { :class => 'help' }, :last => true
end
Redmine::MenuManager.map :account_menu do |menu|