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.
10 lines
380 B
10 lines
380 B
|
|
json.count @count
|
|
json.course_list @course_lists, partial: 'users/question_banks/shared/course_list', as: :course_list
|
|
json.question_banks do
|
|
json.array! @question_banks do |question_bank|
|
|
json.partial! 'users/question_banks/shared/question_bank', locals: { question_bank: question_bank }
|
|
json.solve_count @solve_count_map.fetch(question_bank.id, 0)
|
|
end
|
|
end
|