summaryrefslogtreecommitdiff
path: root/app/views/tournaments/index.json.jbuilder
blob: 4038f04a1f740051f6afd0d13767b669f75f813e (plain)
1
2
3
4
json.array!(@tournaments) do |tournament|
  json.extract! tournament, :id, :name, :game_id, :status, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams
  json.url tournament_url(tournament, format: :json)
end