db:purge now deletes everything in uploads folder
This commit is contained in:
parent
18a77c8381
commit
ee7005ad74
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ namespace :db do
|
|||
MongoMapper::connection.drop_database(MongoMapper::database.name)
|
||||
|
||||
puts 'Deleting tmp folder...'
|
||||
`rm -rf #{File.dirname(__FILE__)}/../../public/uploads/tmp`
|
||||
`rm -rf #{File.dirname(__FILE__)}/../../public/uploads/*`
|
||||
end
|
||||
|
||||
desc 'Purge and seed the current RAILS_ENV database using information from db/seeds.rb'
|
||||
|
|
|
|||
Loading…
Reference in a new issue