|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
json.candidates do
|
|
|
|
|
json.array! @users do |user|
|
|
|
|
|
json.id user.id
|
|
|
|
|
json.name user.firstname + user.lastname
|
|
|
|
|
json.name user.real_name
|
|
|
|
|
json.nickname user.nickname
|
|
|
|
|
json.school_name user.user_extension.school.try(:name)
|
|
|
|
|
json.school_id user.user_extension.school.try(:id)
|
|
|
|
|