summaryrefslogtreecommitdiff
path: root/app/views/matches/index.json.jbuilder
blob: 0b2bfcd2d4cf6d01cdf804ab63f2d61abfa59079 (plain)
1
2
3
4
json.array!(@matches) do |match|
  json.extract! match, :id, :tournament_id, :name, :winner_id
  json.url match_url(match, format: :json)
end