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