Sha256: 6c036be070328c81684e8a0069e113401d356346dc95e0c35c6707f3381262fc

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

module Caisson::Implants
  class Railtie < Rails::Railtie
    initializer "caisson" do |app|
      ActiveSupport.on_load :action_view do
        require 'caisson/helpers'
      end

      if defined? Mongoid
        require 'caisson/implants/mongoid'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caisson-0.0.3 lib/caisson/implants/railtie.rb
caisson-0.0.2 lib/caisson/implants/railtie.rb