lib/classy_assets/tasks.rb in classy_assets-0.9.0 vs lib/classy_assets/tasks.rb in classy_assets-0.9.1
- old
+ new
@@ -6,10 +6,10 @@
module ClassyAssets
class Tasks < Rake::SprocketsTask ; end
end
-Rake::ClassyAssetsTask.new do |t|
+ClassyAssets::Tasks.new do |t|
if ClassyAssets.config.asset_compress
ClassyAssets.sprockets.css_compressor = ClassyAssets.config.css_compressor
ClassyAssets.sprockets.js_compressor = ClassyAssets.config.css_compressor
end