mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Remove unused presenter
The usage of this presenter got removed seven years ago:
c5d031a6d7
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
class VariantPresenter
|
||||
attr_accessor :variant
|
||||
|
||||
def initialize(variant)
|
||||
@variant = variant
|
||||
end
|
||||
|
||||
delegate :id, to: :variant
|
||||
|
||||
def image_url
|
||||
@variant.images.first.attachment.url :mini if @variant.images.present?
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user