Module: Breadcrumbs::ActionController
- Defined in:
- lib/breadcrumbs/action_controller_ext.rb
Overview
:nodoc: all
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 |
# File 'lib/breadcrumbs/action_controller_ext.rb', line 5 def self.included(base) base.send :helper_method, :breadcrumbs end |
Instance Method Details
#breadcrumbs ⇒ Object
9 10 11 |
# File 'lib/breadcrumbs/action_controller_ext.rb', line 9 def @breadcrumbs ||= Breadcrumbs.new end |