Permalink
Browse files

synchronizes assets.rake with master

  • Loading branch information...
1 parent b88e368 commit b6675d8a8059ddb8fb28790ef6beb72a86db3b2c @fxn fxn committed Jul 16, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 actionpack/lib/sprockets/assets.rake
@@ -17,10 +17,6 @@ namespace :assets do
task :clean => :environment do
assets = Rails.application.config.assets
public_asset_path = Rails.public_path + assets.prefix
- file_list = FileList.new("#{public_asset_path}/*.js", "#{public_asset_path}/*.css")
- file_list.each do |file|
- rm file
- rm "#{file}.gz", :force => true
- end
+ rm_rf public_asset_path, :secure => true
end
end

0 comments on commit b6675d8

Please sign in to comment.