Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Fix 'cloudinary secure' with handlebars helper #179

Merged
merged 1 commit into from
May 4, 2016

Conversation

jstockwin
Copy link
Contributor

Potential fix for #176
cc @mxstbr

I've tested this and it works, but I'm by no means saying it's the best fix. See what you think.

The || false is because in most cases keystone.get('cloudinary secure') will be undefined, as most people will not explicitly set it to false.

I considered doing an if statement to only change options.hash if it was set, but this one liner seemed neater.

@JedWatson
Copy link
Member

Looks good to me @jstockwin, thanks!

@JedWatson JedWatson merged commit 07516fe into keystonejs:master May 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants