blob: bd86e042e0bca28f86e184618a45cffff5226fc6 (
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, :scoring_method
json.url tournament_url(tournament, format: :json)
end
|