ios support

This commit is contained in:
2015-03-04 20:48:24 +01:00
parent e02d32156f
commit 3cf8d3c896
22 changed files with 127 additions and 53 deletions
@@ -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