mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Go through ActiveStorage::Blob::Representable#variant to pick up tracking
This commit is contained in:
parent
f7da355409
commit
2963a30cf9
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class ActiveStorage::Preview
|
|||
end
|
||||
|
||||
def variant
|
||||
ActiveStorage::Variant.new(image, variation).processed
|
||||
image.variant(variation).processed
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue