fix history_list for user

This commit is contained in:
2012-09-07 15:36:31 +02:00
parent 76424f972f
commit 3b29b5b985
+1 -1
View File
@@ -217,7 +217,7 @@ class UserController < ApplicationController
render layout: 'phone' render layout: 'phone'
end end
format.json do format.json do
render json: list.with_orders_as_json render json: @list.with_orders_as_json
end end
end end
end end