blob: 0e9769b53fd24d2939cc951ad75711bd163b4228 (
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, :sampling_method, :scoring_method
json.url game_url(game, format: :json)
end
|