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
@@ -1,5 +1,5 @@
# Used for user ember1
class Users::ProductOrderSerializer < Qwaiter::UserBaseSerializer
class Users::ProductOrderSerializer
include Qwaiter::UserBaseSerializer
attributes :quantity, :price, :product_name, :product_variant
# belongs_to :product #DO NOT USE THIS, THIS IS NOT NEEDED
has_one :order, serializer: Users::OrderSerializer