summaryrefslogtreecommitdiff
path: root/app/views/games/index.json.jbuilder
blob: 7e5c1a1f6e4be6e3e9a44d8a85f754756cd3797d (plain)
1
2
3
4
json.array!(@games) do |game|
  json.extract! game, :id, :name, :players_per_team, :teams_per_match, :set_rounds, :randomized_teams
  json.url game_url(game, format: :json)
end