Module: Avo::Concerns::Breadcrumbs::ClassMethods

Defined in:
lib/avo/concerns/breadcrumbs.rb

Instance Method Summary collapse

Instance Method Details

#add_breadcrumb(name, path = nil) ⇒ Object



72
73
74
75
76
# File 'lib/avo/concerns/breadcrumbs.rb', line 72

def add_breadcrumb(name, path = nil)
  before_action(filter_options) do |controller|
    controller.send(:add_breadcrumb, name, path)
  end
end