Module: Para::Breadcrumbs::Controller::ClassMethods

Defined in:
lib/para/breadcrumbs/controller.rb

Instance Method Summary collapse

Instance Method Details

#add_breadcrumb(*args) ⇒ Object



36
37
38
39
# File 'lib/para/breadcrumbs/controller.rb', line 36

def add_breadcrumb(*args)
  self._class_level_breadcrumbs ||= []
  self._class_level_breadcrumbs += [args]
end