progress
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user