Use controller instead of instance variable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7896 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4f907d5c9e
commit
a756103b10
|
@ -159,7 +159,7 @@ module Redmine
|
|||
module MenuHelper
|
||||
# Returns the current menu item name
|
||||
def current_menu_item
|
||||
@controller.current_menu_item
|
||||
controller.current_menu_item
|
||||
end
|
||||
|
||||
# Renders the application main menu
|
||||
|
|
Loading…
Reference in New Issue