Sha256: f6b8bf791d352168778892ee49afb278bb367eb687435fe849d2f2ea77b7e67f

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 Bytes

Contents

module Crumbs
  class Railtie < Rails::Railtie

    initializer 'crumbs' do
      ::ActionController::Base.send :include, Crumbs::ActionController::Base
    end

    config.after_initialize do
      load Rails.root.join('config/crumbs.rb')
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crumbs-2.1.2 lib/crumbs/railtie.rb
crumbs-2.1.1 lib/crumbs/railtie.rb