mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Removing unused #tag_list method on VariantSerializer
This commit is contained in:
@@ -22,8 +22,4 @@ class Api::VariantSerializer < ActiveModel::Serializer
|
||||
def product_name
|
||||
object.product.name
|
||||
end
|
||||
|
||||
def tag_list
|
||||
object.tag_list if object.is_a? VariantOverride
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user