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