summaryrefslogtreecommitdiff
path: root/app/views/games/index.json.jbuilder
blob: f8b3e966d25e84636172800a6e4fce03fbc364b6 (plain)
1
2
3
4
json.array!(@games) do |game|
  json.extract! game, :id, :name, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams
  json.url game_url(game, format: :json)
end