mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update dfc_provider for Active Storage images
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user