Sha256: 484840d2cdf4e97a101e9bafa2fdf1bb89ad4f926463ba8f7702f5c75b7f1c50

Contents?: true

Size: 637 Bytes

Versions: 13

Compression:

Stored size: 637 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',
        'effective_ckeditor/config.js',
        'ckeditor/*',
        'effective/snippets/*'
      ]

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

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
effective_ckeditor-1.5.1 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.5.0 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.4.2 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.4.0 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.3.1 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.3.0 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.2.1 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.2.0 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.1.2 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.1.1 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.1.0 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.0.1 lib/effective_ckeditor/engine.rb
effective_ckeditor-1.0.0 lib/effective_ckeditor/engine.rb