diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-23 18:28:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-23 18:28:11 +0000 |
commit | a756103b10ecac1e4ec89ebb7d5644c2fff6b7d4 (patch) | |
tree | 1b55d8fadf7d3daa1294918e71429414ba912116 /lib | |
parent | 4f907d5c9e6e477a5af02069382eff9a3fa8f785 (diff) | |
download | redmine-a756103b10ecac1e4ec89ebb7d5644c2fff6b7d4.tar.gz redmine-a756103b10ecac1e4ec89ebb7d5644c2fff6b7d4.zip |
Use controller instead of instance variable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7896 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/menu_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |