blob: df8eee4e444464659f21bb4b8c704b8acdbc2c3a (
plain)
1
2
3
4
|
json.array!(@tournaments) do |tournament|
json.extract! tournament, :id, :game_id, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams, :status
json.url tournament_url(tournament, format: :json)
end
|