parent
8813444aec
commit
2b4c3e9efc
@ -1,12 +1,2 @@
|
||||
json.students do
|
||||
json.array! @students do |student|
|
||||
json.user_id student.user_id
|
||||
json.login student.user.try(:login)
|
||||
json.name student.user.try(:real_name)
|
||||
json.student_id student.user.try(:student_id)
|
||||
json.course_member_id student.id
|
||||
json.user_phone @course.excellent ? "" : student.user.hidden_phone
|
||||
json.image_url url_to_avatar(student.user)
|
||||
end
|
||||
end
|
||||
json.students student_list @students, @course.excellent
|
||||
json.students_count @students_count
|
Loading…
Reference in new issue