Sha256: 631b8df4a8fcf1293951f6a27985536857ceda26bb87dfa992cbd4f2601176c1

Contents?: true

Size: 433 Bytes

Versions: 26

Compression:

Stored size: 433 Bytes

Contents

module Brightcontent
  class Engine < ::Rails::Engine
    isolate_namespace Brightcontent

    initializer "Brightcontent precompile hook", :group => :all do |app|
      app.config.assets.precompile += ['brightcontent/brightcontent.js', 'brightcontent/brightcontent.css']
    end

    initializer "Add ActiveRecord column" do
      ActiveSupport.on_load(:active_record) do
        include ModelExtensions
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
brightcontent-core-2.0.33 lib/brightcontent/engine.rb
brightcontent-core-2.0.31 lib/brightcontent/engine.rb
brightcontent-core-2.0.30 lib/brightcontent/engine.rb
brightcontent-core-2.0.29 lib/brightcontent/engine.rb
brightcontent-core-2.0.28 lib/brightcontent/engine.rb
brightcontent-core-2.0.27 lib/brightcontent/engine.rb
brightcontent-core-2.0.26 lib/brightcontent/engine.rb
brightcontent-core-2.0.25 lib/brightcontent/engine.rb
brightcontent-core-2.0.24 lib/brightcontent/engine.rb
brightcontent-core-2.0.23 lib/brightcontent/engine.rb
brightcontent-core-2.0.22 lib/brightcontent/engine.rb
brightcontent-core-2.0.21 lib/brightcontent/engine.rb
brightcontent-core-2.0.20 lib/brightcontent/engine.rb
brightcontent-core-2.0.19 lib/brightcontent/engine.rb
brightcontent-core-2.0.18 lib/brightcontent/engine.rb
brightcontent-core-2.0.17 lib/brightcontent/engine.rb
brightcontent-core-2.0.16 lib/brightcontent/engine.rb
brightcontent-core-2.0.15 lib/brightcontent/engine.rb
brightcontent-core-2.0.14 lib/brightcontent/engine.rb
brightcontent-core-2.0.13 lib/brightcontent/engine.rb