|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
json.students do
|
|
|
|
|
json.array! @students do |student|
|
|
|
|
|
json.user_id student.user_id
|
|
|
|
|
# json.login student.user.try(:login)
|
|
|
|
|
json.login student.user.try(:login)
|
|
|
|
|
json.name student.user.try(:real_name)
|
|
|
|
|
json.name_link user_path(student.user)
|
|
|
|
|
json.student_id student.user.try(:student_id)
|
|
|
|
|