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:
Jean-Philippe Lang 2011-11-23 18:28:11 +00:00
parent 4f907d5c9e
commit a756103b10
1 changed files with 1 additions and 1 deletions

View File

@ -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