Merge pull request #4651 from mkllnk/remove-unused-presenter

Remove unused presenter
This commit is contained in:
Luis Ramos
2020-01-28 09:52:01 +00:00
committed by GitHub

View File

@@ -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