diff options
author | Janko Marohnić <janko.marohnic@gmail.com> | 2018-04-23 12:35:43 +0200 |
---|---|---|
committer | Janko Marohnić <janko.marohnic@gmail.com> | 2018-04-23 12:35:43 +0200 |
commit | dc97f6c3fd2769ba29ea06a6015244be18a19893 (patch) | |
tree | 8b87e96a31390a0c59d8e4b739631d3d664cdcc3 /guides/source | |
parent | e40091648b9fa3c75511422c5dc8d83bfe99421e (diff) | |
download | rails-dc97f6c3fd2769ba29ea06a6015244be18a19893.tar.gz rails-dc97f6c3fd2769ba29ea06a6015244be18a19893.tar.bz2 rails-dc97f6c3fd2769ba29ea06a6015244be18a19893.zip |
Replace :resize_to_fit with :resize in the guide
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_storage_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md index c3fb5356d4..3f55e82e24 100644 --- a/guides/source/active_storage_overview.md +++ b/guides/source/active_storage_overview.md @@ -353,7 +353,7 @@ original blob into the format you specified and redirect to its new service location. ```erb -<%= image_tag user.avatar.variant(resize_to_fit: [100, 100]) %> +<%= image_tag user.avatar.variant(resize: "100x100") %> ``` To switch to the Vips processor, you would add the following to |