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.
10 lines
302 B
10 lines
302 B
6 years ago
|
json.users do
|
||
|
json.array! @users do |user|
|
||
|
json.id user.id
|
||
|
json.name user.real_name
|
||
|
json.student_id user.user_extension.try(:student_id)
|
||
|
json.school_name user.user_extension.school.name
|
||
|
json.added @course.course_member?(user.id, 4)
|
||
|
end
|
||
|
end
|
||
|
json.users_count @users_count
|