Sha256: 0218f4a95ebc74e301800701f7b3a78b7d9ad50df9175e35bb9edd65c06e8db5

Contents?: true

Size: 277 Bytes

Versions: 9

Compression:

Stored size: 277 Bytes

Contents

module Breadcrumbs::ActionController # :nodoc: all
  extend ActiveSupport::Concern

  included do
    helper_method :breadcrumbs
  end

  def breadcrumbs
    @breadcrumbs ||= Breadcrumbs.new(self)
  end

end

ActionController::Base.send :include, Breadcrumbs::ActionController

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bsm-breadcrumbs-0.5.2 lib/breadcrumbs/action_controller_ext.rb
bsm-breadcrumbs-0.5.1 lib/breadcrumbs/action_controller_ext.rb
bsm-breadcrumbs-0.5.0 lib/breadcrumbs/action_controller_ext.rb
bsm-breadcrumbs-0.4.0 lib/breadcrumbs/action_controller_ext.rb
bsm-breadcrumbs-0.3.3 lib/breadcrumbs/action_controller_ext.rb
bsm-breadcrumbs-0.3.2 lib/breadcrumbs/action_controller_ext.rb
bsm-breadcrumbs-0.3.1 lib/breadcrumbs/action_controller_ext.rb
bsm-breadcrumbs-0.3.0 lib/breadcrumbs/action_controller_ext.rb
bsm-breadcrumbs-0.2.1 lib/breadcrumbs/action_controller_ext.rb