dev_forum
SylorHuang 5 years ago
parent 3e0dd85322
commit 88a85bff7d

@ -11,7 +11,7 @@ module ExercisesHelper
if q.question_type == 5 if q.question_type == 5
answers_content = q.exercise_shixun_answers.search_shixun_answers("user_id",user_id) answers_content = q.exercise_shixun_answers.search_shixun_answers("user_id",user_id)
else else
answers_content = q.exercise_answers.includes(:exercise_choices).search_answer_users("user_id",user_id) answers_content = q.exercise_answers.search_answer_users("user_id",user_id)
end end
if q.question_type <= 2 if q.question_type <= 2

Loading…
Cancel
Save