From a756103b10ecac1e4ec89ebb7d5644c2fff6b7d4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 23 Nov 2011 18:28:11 +0000 Subject: [PATCH] Use controller instead of instance variable. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7896 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/menu_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb index eaa2350f7..70fa157fd 100644 --- a/lib/redmine/menu_manager.rb +++ b/lib/redmine/menu_manager.rb @@ -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