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