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/teachers.json.jbuilder

11 lines
449 B

json.teachers @teachers do |teacher|
json.login teacher['login']
json.name teacher['real_name']
json.course_count teacher['course_count']
json.shixun_work_count teacher['shixun_work_count']
json.un_shixun_work_count teacher['un_shixun_work_count']
json.student_count teacher['student_count']
json.complete_rate teacher['complete_rate']
json.publish_shixun_count teacher['publish_shixun_count']
end
# json.teacher_count @teacher_count