1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/app/views/api/members/search.json.jbuilder
2016-06-14 09:57:39 +02:00

5 lines
160 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
end