mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Give a bit more demo info in the conference description
This commit is contained in:
parent
5b20c992ae
commit
084ee7ef43
4 changed files with 9 additions and 4 deletions
|
|
@ -7,10 +7,13 @@ class PictureUploader < CarrierWave::Uploader::Base
|
|||
|
||||
# use cloudinary if it's configured
|
||||
if Cloudinary.config.cloud_name
|
||||
# use https by default
|
||||
Cloudinary.config.secure = true
|
||||
|
||||
include Cloudinary::CarrierWave
|
||||
|
||||
def public_id
|
||||
return model.try(:photo_file_name) || model.try(:logo_file_name)
|
||||
model.try(:photo_file_name) || model.try(:logo_file_name)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue