dev_forum
SylorHuang 5 years ago
parent 4c84839da2
commit 79eb49c750

@ -54,7 +54,7 @@ json.exercise_questions do
this_ques_status = all_question_status.detect {|f| f[:q_id] == q.id}
json.answer_status this_ques_status[:stand_status]
end
json.user_score user_ques_answers[:user_score].to_s
json.user_score user_ques_answers[:user_score].present? ? user_ques_answers[:user_score].to_s : nil
json.partial! "exercise_questions/exercise_questions",
question: q,
ex_answerer: ex_answerer,

Loading…
Cancel
Save