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.
9 lines
313 B
9 lines
313 B
6 years ago
|
json.students do
|
||
|
json.array! @students do |student|
|
||
|
json.course_member_id student.id
|
||
|
json.name student.user.real_name
|
||
|
json.student_id student.user.user_extension.try(:student_id)
|
||
|
json.school_name student.user.user_extension.school.try(:name)
|
||
|
end
|
||
|
end
|
||
|
json.students_count @students_count
|