summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-13 12:12:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-13 12:12:58 +0000
commit7b8a4fc28bd22e8e463cc6c40be99766f0cc1410 (patch)
treebeb5e7dd675396ea7d312c20523ab9cf22f38bb2 /lib/redmine.rb
parentc4eef6314e0e7030d002a2f40f1d4cee993afae6 (diff)
downloadredmine-7b8a4fc28bd22e8e463cc6c40be99766f0cc1410.tar.gz
redmine-7b8a4fc28bd22e8e463cc6c40be99766f0cc1410.zip
Menu mapper: add support for :before, :after and :last options to #push method and add #delete method.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1660 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 84eda9f72..6db32340f 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -130,5 +130,5 @@ Redmine::MenuManager.map :project_menu do |menu|
menu.push :files, { :controller => 'projects', :action => 'list_files' }, :caption => :label_attachment_plural
menu.push :repository, { :controller => 'repositories', :action => 'show' },
:if => Proc.new { |p| p.repository && !p.repository.new_record? }
- menu.push :settings, { :controller => 'projects', :action => 'settings' }
+ menu.push :settings, { :controller => 'projects', :action => 'settings' }, :last => true
end