blob: 7964f2ccebfdc809d5f7562a6eabb8e7b3bed8d1 (
plain)
1
2
3
4
|
json.array!(@games) do |game|
json.extract! game, :id, :parent_id, :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 game_url(game, format: :json)
end
|