working ember... again

This commit is contained in:
2013-10-07 23:00:01 +02:00
parent a8c01d264e
commit 2f41560591
46 changed files with 274 additions and 114 deletions
@@ -33,7 +33,11 @@ module Suppliers
respond_to do |format|
format.html {}
format.json do
render json: @list
if params[:old_style] then
render json: @list.with_orders_as_json
else
render json: @list
end
end
end
end