Sha256: d889f90e63e095ec7feac2b924a108d13035067909044f385a7a1b7e8846c01c

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

require "tinymce/rails"

module Trestle
  module TinyMCE
    class Engine < Rails::Engine
      if config.respond_to?(:assets)
        config.assets.precompile << "trestle/tinymce.manifest.js" # Sprockets 4 manifest
        config.assets.precompile << "trestle/tinymce.js"          # Sprockets 3
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trestle-tinymce-0.4.0 lib/trestle/tinymce/engine.rb
trestle-tinymce-0.4.0.pre2 lib/trestle/tinymce/engine.rb