fix history_list for user
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user