Module: RailsMenu::ControllerHelper::ClassMethods

Defined in:
lib/rails_menu/controller_helper.rb

Instance Method Summary collapse

Instance Method Details

#set_menu(id, options = {}) ⇒ Object



13
14
15
16
17
# File 'lib/rails_menu/controller_helper.rb', line 13

def set_menu(id, options = {})
  before_filter(options) do
    set_menu id
  end
end