lib/crumbs/railtie.rb in crumbs-2.1.2 vs lib/crumbs/railtie.rb in crumbs-4.0.0.0

- old
+ new

@@ -1,9 +1,11 @@ module Crumbs class Railtie < Rails::Railtie - initializer 'crumbs' do - ::ActionController::Base.send :include, Crumbs::ActionController::Base + initializer 'crumbs.extensions' do + ::ActionController::Base.include( + Crumbs::Extensions::ActionController::Base + ) end config.after_initialize do load Rails.root.join('config/crumbs.rb') end