JSONAPI stuff

This commit is contained in:
2015-09-04 17:39:11 +02:00
parent e4dde28dd0
commit 7336585416
16 changed files with 75 additions and 66 deletions
@@ -2,8 +2,4 @@ class Users::SupplierSerializer < Qwaiter::UserBaseSerializer
#self.root = :supplier
attributes :open, :name
has_many :product_categories, serializer: Users::ProductCategorySerializer
#def extended_version
# false
#end
end