Skip to content

Commit

Permalink
Remove Rails 3 deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
legiar committed Nov 3, 2010
1 parent 34c9fc1 commit 5613f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/menu_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module MenuHelper
# For more information about how menus are created, see the documentation
# for MenuHelper::MenuBar#menu.
def menu_bar(options = {}, html_options = {}, &block)
MenuBar.new(@controller, options, html_options, &block).html
MenuBar.new(controller, options, html_options, &block).html
end
end

Expand Down

0 comments on commit 5613f67

Please sign in to comment.