serializer stuff
This commit is contained in:
@@ -23,13 +23,9 @@ module Suppliers
|
||||
|
||||
render json: JSONAPI::Serializer.serialize(@lists, serializer: Suppliers::ListSerializer, is_collection: true, include: %w[
|
||||
orders
|
||||
orders.list
|
||||
orders.user
|
||||
orders.product_orders
|
||||
orders.product_orders.product
|
||||
users
|
||||
section
|
||||
table
|
||||
])
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user