Skip to content

Commit

Permalink
indeed, if we are going to remove everything in public/assets on asse…
Browse files Browse the repository at this point in the history
…ts:clean, just do that
  • Loading branch information
fxn committed Jul 16, 2011
1 parent 53f6acd commit 0aec2e7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions actionpack/lib/sprockets/assets.rake
Expand Up @@ -17,9 +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}/**/*")
file_list.each do |file|
rm_rf file
end
rm_rf public_asset_path, :secure => true
end
end

0 comments on commit 0aec2e7

Please sign in to comment.