Sha256: 80014ad67fcd20453b8845a3fffcda3a8d72b51e2705a7b2699488dbc5200018

Contents?: true

Size: 645 Bytes

Versions: 5

Compression:

Stored size: 645 Bytes

Contents

module EffectiveBootstrap
  class Engine < ::Rails::Engine
    engine_name 'effective_bootstrap'

    # Set up our default configuration options.
    initializer 'effective_bootstrap.defaults', before: :load_config_initializers do |app|
      eval File.read("#{config.root}/config/effective_bootstrap.rb")
    end

    initializer 'effective_bootstrap.assets' do |app|
      app.config.assets.precompile += ['effective_bootstrap_manifest.js', 'icons/*']
    end

    initializer 'effective_bootstrap.action_text' do |app|
      if defined?(ActionText)
        ActionText::ContentHelper.allowed_attributes << 'style'
      end
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
effective_bootstrap-0.9.28 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.27 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.26 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.25 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.24 lib/effective_bootstrap/engine.rb