Update dfc_provider for Active Storage images

This commit is contained in:
Maikel Linke
2022-11-03 16:16:37 +11:00
committed by David Cook
parent a501bc9687
commit 2630fde763

View File

@@ -50,7 +50,7 @@ module DfcProvider
def claim; end
def image
object.images.first.try(:attachment, :url)
object.images.first&.url(:product)
end
def life_time; end