Sha256: b3d23384e8f28e444102bb27cc675d1adcbbbfa655e45fd885ed06f752db85b5

Contents?: true

Size: 667 Bytes

Versions: 9

Compression:

Stored size: 667 Bytes

Contents

module EffectiveCkeditor
  class Engine < ::Rails::Engine
    engine_name 'effective_ckeditor'
    isolate_namespace EffectiveCkeditor

    # Append some precompiled assets we need access to
    # This works in conjunction with the effective_ckeditor rake task that enhances assets:precompile
    initializer "effective_ckeditor.append_precompiled_assets" do |app|
      precompile = [
        'effective_ckeditor.js',
        'effective_ckeditor.css',
        'ckeditor/contents.css',
        'ckeditor/plugins/*',
        'ckeditor/skins/*',
        'effective/snippets/*',
      ]

      Rails.application.config.assets.precompile += precompile
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_ckeditor-1.7.5 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.7.4 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.7.3 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.7.2 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.7.1 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.7.0 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.6.2 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.6.1 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.6.0 lib/effective_ckeditor/engine.rb