Forums » Development »
Added by Terence Mill over 11 years ago
Inapplication_helper.rb there is a "sidebar_content" method which check if sidebar exists. I need a method for check if project menu) is exists (non empty) (e.g a no project view like admin menu). Is there any method? How shall i do this ?
A look at the Redmine::MenuManager::MenuHelper
module, and more specifically the Redmine::MenuManager::MenuHelper#display_main_menu?
instance method, might help you further...