1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Use HTTPS

This commit is contained in:
Daniel Barber 2015-10-29 13:02:41 +00:00
parent 5133ab7917
commit 85822636c3

View File

@ -33,7 +33,7 @@ class CloudinaryImage
def url(format = nil)
if FORMATS[format].present?
Cloudinary::Utils.cloudinary_url(id, FORMATS[format].dup)
Cloudinary::Utils.cloudinary_url(id, FORMATS[format].dup.merge(ssl_detected: true))
else
Cloudinary::Utils.cloudinary_url(id)
end