ios support
This commit is contained in:
@@ -6,7 +6,7 @@ module Suppliers
|
||||
|
||||
def show
|
||||
[current_supplier].include_relations(sections: :tables, product_categories: :products)
|
||||
render json: Suppliers::SupplierSerializer.new(current_supplier).as_json
|
||||
render json: current_supplier, serializer: Suppliers::SupplierSerializer #.new(current_supplier).as_json
|
||||
end
|
||||
|
||||
def update
|
||||
|
||||
Reference in New Issue
Block a user