1
0
Fork 0
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:
George Claghorn 2019-12-06 14:20:38 -05:00
parent f7da355409
commit 2963a30cf9

View file

@ -82,7 +82,7 @@ class ActiveStorage::Preview
end
def variant
ActiveStorage::Variant.new(image, variation).processed
image.variant(variation).processed
end