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.
12 lines
338 B
12 lines
338 B
5 years ago
|
json.count @count
|
||
|
json.users do
|
||
|
json.array! @users.each do |user|
|
||
|
json.id user.id
|
||
|
json.name user.real_name
|
||
|
json.identity user.identity
|
||
|
json.school_name user.school_name
|
||
|
json.department_name user.department_name
|
||
|
json.phone Util.conceal(user.phone, :phone)
|
||
|
json.manager @manager_ids.include?(user.id)
|
||
|
end
|
||
|
end
|