]> source.dussan.org Git - redmine.git/commitdiff
Use controller instead of instance variable.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 23 Nov 2011 18:28:11 +0000 (18:28 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 23 Nov 2011 18:28:11 +0000 (18:28 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7896 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/menu_manager.rb

index eaa2350f72e76201542681449ac1a4f5ede3db76..70fa157fdd6bb751884b6e1ab98fbfcd71447498 100644 (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