Sha256: 606cab15fe0152e618e8ca1fe8ca544effabe508ec800194c8c0932807a47dbd

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

module Catche
  class Railtie < ::Rails::Railtie
    initializer "include.catche" do |app|
      ActionController::Base.send :include, Catche::Controller
      ActiveRecord::Base.send     :include, Catche::Model
      ActionView::Base.send       :include, Catche::ViewHelpers
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
catche-0.2.5 lib/catche/railtie.rb