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:
commit
57360c183c
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ class PictureUploader < CarrierWave::Uploader::Base
|
||||||
include CarrierWave::Compatibility::Paperclip
|
include CarrierWave::Compatibility::Paperclip
|
||||||
include CarrierWave::BombShelter
|
include CarrierWave::BombShelter
|
||||||
|
|
||||||
|
storage :file
|
||||||
|
|
||||||
# use cloudinary if it's configured
|
# use cloudinary if it's configured
|
||||||
if Cloudinary.config.cloud_name
|
if Cloudinary.config.cloud_name
|
||||||
# use https by default
|
# use https by default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue