diff options
Diffstat (limited to 'activestorage/README.md')
-rw-r--r-- | activestorage/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/README.md b/activestorage/README.md index 242d5b8216..b677721d95 100644 --- a/activestorage/README.md +++ b/activestorage/README.md @@ -99,7 +99,7 @@ Variation of image attachment: ```erb <%# Hitting the variant URL will lazy transform the original blob and then redirect to its new service location %> -<%= image_tag user.avatar.variant(resize: "100x100") %> +<%= image_tag user.avatar.variant(resize_to_fit: [100, 100]) %> ``` ## Direct uploads |