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