lib/menu_builder/controller.rb in menu_builder-0.4.3 vs lib/menu_builder/controller.rb in menu_builder-0.4.4

- old
+ new

@@ -9,10 +9,10 @@ module ClassMethods def menu_items(*items) options = items.extract_options! - before_filter(options) do |controller| + before_action(options) do |controller| controller.instance_variable_set('@menu_items', items) end end alias_method :menu_item, :menu_items