4 lines
232 B
4 lines
232 B
6 years ago
|
user = question_comment.user
|
||
|
json.user_picture url_to_avatar(user)
|
||
|
json.user_name user.real_name
|
||
|
json.extract! question_comment, :id,:updated_at,:comment,:score,:exercise_question_id,:exercise_shixun_answer_id,:exercise_answer_id
|