Module: Para::Breadcrumbs::Controller

Extended by:
ActiveSupport::Concern
Includes:
ActionController::Helpers
Defined in:
lib/para/breadcrumbs/controller.rb

Defined Under Namespace

Modules: ClassMethods, ViewHelper

Instance Method Summary collapse

Instance Method Details

#add_breadcrumb(*args) ⇒ Object



16
17
18
# File 'lib/para/breadcrumbs/controller.rb', line 16

def add_breadcrumb(*args)
  breadcrumbs.add(*args)
end


20
21
22
# File 'lib/para/breadcrumbs/controller.rb', line 20

def breadcrumbs
  build_breadcrumbs_manager
end