summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-23 18:28:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-23 18:28:11 +0000
commita756103b10ecac1e4ec89ebb7d5644c2fff6b7d4 (patch)
tree1b55d8fadf7d3daa1294918e71429414ba912116 /lib
parent4f907d5c9e6e477a5af02069382eff9a3fa8f785 (diff)
downloadredmine-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.rb2
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