|
|
@ -62,7 +62,8 @@ json.exercise_questions do
|
|
|
|
exercise_type: ex_type,
|
|
|
|
exercise_type: ex_type,
|
|
|
|
user_answer: user_ques_answers[:answered_content],
|
|
|
|
user_answer: user_ques_answers[:answered_content],
|
|
|
|
shixun_type: user_ques_answers[:shixun_type],
|
|
|
|
shixun_type: user_ques_answers[:shixun_type],
|
|
|
|
ques_position: nil
|
|
|
|
ques_position: nil,
|
|
|
|
|
|
|
|
edit_type:nil
|
|
|
|
if user_ques_comments.count > 0
|
|
|
|
if user_ques_comments.count > 0
|
|
|
|
json.question_comments do
|
|
|
|
json.question_comments do
|
|
|
|
json.partial! "exercises/exercise_comments", question_comment:user_ques_answers[:question_comment].first
|
|
|
|
json.partial! "exercises/exercise_comments", question_comment:user_ques_answers[:question_comment].first
|
|
|
|