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