mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Replace :resize_to_fit with :resize in the guide
This commit is contained in:
parent
e40091648b
commit
dc97f6c3fd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue