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.
educoder/app/views/colleges/student_shixun.json.jbuilder

10 lines
356 B

json.teachers @students do |student|
json.login student.login
json.name student.real_name
json.student_id student.student_id
json.shixun_count @shixun_count.fetch(student.id, 0)
json.study_shixun_count @study_shixun_count.fetch(student.id, 0)
json.grade student.grade
json.experience student.experience
end
# json.student_count @student_count