mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
5 lines
160 B
Ruby
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 |