serializer stuff
This commit is contained in:
@@ -10,5 +10,5 @@ class Suppliers::ProductSerializer
|
||||
end
|
||||
|
||||
has_many :product_variants, serializer: Suppliers::ProductVariantSerializer
|
||||
has_one :product_category, serializer: Suppliers::ProductSerializer
|
||||
has_one :product_category, serializer: Suppliers::ProductCategorySerializer
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user