This commit is contained in:
2015-09-05 14:14:28 +02:00
parent 7336585416
commit e2e883df1d
24 changed files with 62 additions and 44 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
class Users::ProductSerializer < Qwaiter::UserBaseSerializer
class Users::ProductSerializer
include Qwaiter::UserBaseSerializer
attributes :name, :price, :description, :image, :code, :position, :visible, :active, :product_category_id
has_many :product_variants, serializer: Users::ProductVariantSerializer