parent
9bc8453ba3
commit
ce07bf7e34
@ -1,8 +1,11 @@
|
||||
#json.partial! "users/users_list", users: @users
|
||||
json.total_count @total_count
|
||||
json.array! @users do |user|
|
||||
json.user_id user.id
|
||||
json.identify user.identity
|
||||
json.nickname user.lastname
|
||||
json.school_name user.school_name
|
||||
json.users do
|
||||
json.array! @users do |user|
|
||||
json.user_id user.id
|
||||
json.identify user.identity
|
||||
json.nickname user.lastname
|
||||
json.school_name user.school_name
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in new issue