CarrierWave needs to be told where to store in 2.x

This commit is contained in:
Henne Vogelsang 2021-03-06 21:34:48 +01:00
parent 30c2db682e
commit 2c238365d6
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0

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