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/courses/get_historical_course_stude...

9 lines
267 B

6 years ago
json.students do
json.array! @students do |student|
json.user_id student.user_id
6 years ago
json.name student.user.real_name
6 years ago
json.student_id student.user.student_id
json.school_name student.user.school_name
6 years ago
end
end
json.students_count @students_count