Merge pull request #2731 from hennevogel/bugfix/cloudinary

Move cache to file
This commit is contained in:
Henne Vogelsang 2021-03-06 22:20:51 +01:00 committed by GitHub
commit 3faee06e48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
CarrierWave.configure do |config|
config.storage = :file
config.cache_storage = :file
config.cache_dir = "#{Rails.root}/tmp/uploads"
config.enable_processing = false if Rails.env.test?
end