switch to JSONAPI for suppliers
This commit is contained in:
@@ -23,6 +23,7 @@ module Suppliers
|
||||
|
||||
render json: JSONAPI::Serializer.serialize(@lists, serializer: Suppliers::ListSerializer, is_collection: true, include: %w[
|
||||
orders
|
||||
orders.list
|
||||
orders.product_orders
|
||||
orders.product_orders.order
|
||||
orders.product_orders.product
|
||||
|
||||
Reference in New Issue
Block a user