Skip to content

Commit

Permalink
Merge pull request #1893 from asideofcode-dev/asideofcode-dev-patch-1
Browse files Browse the repository at this point in the history
Fix: explicitly set CarrierWave.config.cache_storage
  • Loading branch information
matyikriszta authored Aug 4, 2023
2 parents 17663b2 + 88ae90b commit cc80cd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/initializers/carrier_wave.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
CarrierWave.configure do |config|
config.cache_storage = :file

if Rails.env.development?
config.storage = :file
elsif Rails.env.production?
Expand Down

0 comments on commit cc80cd0

Please sign in to comment.