-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass crop parameter in default EssencePicture#picture_url_options (#2098
) Prior to this commit, calling `my_essence.picture_url` without parameters would return an uncropped image be default. In order to get the cropped picture, one would have to add `my_essence.picture_url(crop: true)`. This is unintuitive: For an EssencePicture that I have cropped as a user (crop values are present), `essence.picture_url` as well as `essence.ingredient` should return the cropped version of the image.
- Loading branch information
Showing
2 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters