summaryrefslogtreecommitdiff
path: root/app/views/games/index.json.jbuilder
blob: d19620187ab29aa38565e8bd6c464cc2d0d963bf (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, :scoring_method
  json.url game_url(game, format: :json)
end