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