Activate Ember2 for suppliers

This commit is contained in:
2015-08-27 19:52:47 +02:00
parent e71580f349
commit eca4a23c64
79 changed files with 467 additions and 414 deletions
@@ -21,7 +21,7 @@ module Suppliers
end
@lists.include_relation(:table, :users, orders: {product_orders: :product})
render json: @lists, each_serializer: SupplierListSerializer
render json: @lists, each_serializer: Suppliers::ListSerializer
end