Sha256: c81ef877772efd811f4e75b7de1625acc557d697965f3e9b0deac9761d4e145c

Contents?: true

Size: 719 Bytes

Versions: 31

Compression:

Stored size: 719 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',
        'effective_bootstrap_article_editor.css',
        'icons/*'
      ]
    end

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

  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
effective_bootstrap-0.10.9 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.8 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.7 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.6 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.5 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.4 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.3 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.2 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.1 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.10.0 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.49 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.48 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.47 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.46 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.45 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.44 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.43 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.42 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.41 lib/effective_bootstrap/engine.rb
effective_bootstrap-0.9.40 lib/effective_bootstrap/engine.rb