Merge pull request #2731 from hennevogel/bugfix/cloudinary
Move cache to file
This commit is contained in:
commit
3faee06e48
1 changed files with 1 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
CarrierWave.configure do |config|
|
CarrierWave.configure do |config|
|
||||||
config.storage = :file
|
config.storage = :file
|
||||||
|
config.cache_storage = :file
|
||||||
config.cache_dir = "#{Rails.root}/tmp/uploads"
|
config.cache_dir = "#{Rails.root}/tmp/uploads"
|
||||||
config.enable_processing = false if Rails.env.test?
|
config.enable_processing = false if Rails.env.test?
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue