Merge pull request #2729 from hennevogel/bugfix/carrierwave-update

CarrierWave needs to be told where to store in 2.x
This commit is contained in:
Henne Vogelsang 2021-03-06 21:44:33 +01:00 committed by GitHub
commit 57360c183c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,8 @@ class PictureUploader < CarrierWave::Uploader::Base
include CarrierWave::Compatibility::Paperclip
include CarrierWave::BombShelter
storage :file
# use cloudinary if it's configured
if Cloudinary.config.cloud_name
# use https by default