Pluggable admin menu (patch #2031 by Yuki Sonoda with slight changes).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2022 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-11-11 18:10:21 +00:00
parent 3f4defe482
commit d771847078
3 changed files with 25 additions and 3 deletions
+4
View File
@@ -124,6 +124,10 @@ Redmine::MenuManager.map :application_menu do |menu|
# Empty
end
Redmine::MenuManager.map :admin_menu do |menu|
# Empty
end
Redmine::MenuManager.map :project_menu do |menu|
menu.push :overview, { :controller => 'projects', :action => 'show' }
menu.push :activity, { :controller => 'projects', :action => 'activity' }