Move cache to file
No need to store caches in the cloud.
This commit is contained in:
parent
57360c183c
commit
1291d1846d
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue