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

6 lines
126 B
Text
Raw Normal View History

2017-08-03 22:03:15 +08:00
json.array! teams do |team|
json.id team.id
json.name team.name
json.current_team team == current_user.current_team
end