You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/exercises/_exercise_comments.json.jbu...

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