|
|
@ -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
|
|
|
|