lib/menu_builder/controller.rb in menu_builder-0.0.2 vs lib/menu_builder/controller.rb in menu_builder-0.2.0

- old
+ new

@@ -1,11 +1,11 @@ module MenuBuilder module Controller - def current_tab(name, options = {}) + def menu_item(name, options = {}) before_filter(options) do |controller| - controller.instance_variable_set('@current_tab', name) + controller.instance_variable_set('@menu_item', name) end end end -end \ No newline at end of file +end