Sha256: ad74dcdaa48306e4a929cec756c240cddbb3a0a65d45b9d06f5f65cb86434c2e
Contents?: true
Size: 489 Bytes
Versions: 7
Compression:
Stored size: 489 Bytes
Contents
task :before_assets_precompile do assets = Rails.public_path.join('assets/admin') vendor = File.expand_path('../../assets/_vendor', File.dirname(__FILE__)) FileUtils.mkdir_p(assets) unless File.directory?(assets) FileUtils.cp_r(File.join(vendor, 'tinymce', 'plugins'), assets) FileUtils.cp_r(File.join(vendor, 'tinymce', 'themes'), assets) FileUtils.cp_r(File.join(vendor, 'tinymce', 'skins'), assets) end Rake::Task['assets:precompile'].enhance ['before_assets_precompile']
Version data entries
7 entries across 7 versions & 1 rubygems