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.12 lib/brightcontent/engine.rb
brightcontent-core-2.0.11 lib/brightcontent/engine.rb
brightcontent-core-2.0.10 lib/brightcontent/engine.rb
brightcontent-core-2.0.9 lib/brightcontent/engine.rb
brightcontent-core-2.0.8 lib/brightcontent/engine.rb
brightcontent-core-2.0.7 lib/brightcontent/engine.rb