From 3b29b5b98591c76dc1932cce39bb9954d9f318f3 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Fri, 7 Sep 2012 15:36:31 +0200 Subject: [PATCH] fix history_list for user --- app/controllers/user_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 45a014ec..9cb4453b 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -217,7 +217,7 @@ class UserController < ApplicationController render layout: 'phone' end format.json do - render json: list.with_orders_as_json + render json: @list.with_orders_as_json end end end