lib/sprockets/railtie.rb in sprockets-rails-2.0.0.rc4 vs lib/sprockets/railtie.rb in sprockets-rails-2.0.0

- old
+ new

@@ -56,16 +56,10 @@ config.assets.compile = true config.assets.digest = false rake_tasks do |app| require 'sprockets/rails/task' - - Sprockets::Rails::Task.new do |t| - t.environment = lambda { app.assets } - t.output = File.join(app.root, 'public', app.config.assets.prefix) - t.assets = app.config.assets.precompile - t.cache_path = "#{app.config.root}/tmp/cache/assets" - end + Sprockets::Rails::Task.new(app) end config.after_initialize do |app| config = app.config