Sha256: 83111144c02dd84937af5549c40ec073ebc018400a3253b5b2052916ee304611
Contents?: true
Size: 525 Bytes
Versions: 4
Compression:
Stored size: 525 Bytes
Contents
assets_task = Rake::Task.task_defined?('assets:precompile:primary') ? 'assets:precompile:primary' : 'assets:precompile' Rake::Task[assets_task].enhance do require "tinymce/rails/asset_installer" assets = Pathname.new(File.expand_path(File.dirname(__FILE__) + "/../../vendor/assets/javascripts/tinymce")) config = Rails.application.config target = File.join(Rails.public_path, config.assets.prefix) manifest = config.assets.manifest TinyMCE::Rails::AssetInstaller.new(assets, target, manifest).install end
Version data entries
4 entries across 4 versions & 1 rubygems