mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
CarrierWave needs to be told where to store in 2.x
This commit is contained in:
parent
30c2db682e
commit
2c238365d6
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue