scinote-web/app/views/client_api/teams/index.json.jbuilder
2017-11-06 15:14:17 +01:00

10 lines
249 B
Ruby

json.teams do
json.array! teams do |team|
json.id team.id
json.name team.name
json.members team.members
json.role retrive_role_name(team.role)
json.can_be_left team.can_be_left
json.user_team_id team.user_team_id
end
end