1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/views/api/members/search.json.jbuilder

6 lines
207 B
Ruby

json.array!(@members) do |member|
json.id member.id
json.name "#{member.profile.first_name} #{member.profile.last_name}"
json.group_id member.group_id
json.need_completion member.need_completion?
end