scinote-web/app/views/client_api/teams/index.json.jbuilder

11 lines
249 B
Text
Raw Normal View History

2017-08-25 14:54:32 +08:00
json.teams do
2017-11-06 22:14:17 +08:00
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
2017-08-25 14:54:32 +08:00
end
2017-08-03 22:03:15 +08:00
end