summaryrefslogtreecommitdiff
path: root/app/views/tournaments/index.json.jbuilder
blob: 28d6960bc78e6c185eceff32d8cb262f7061d607 (plain)
1
2
3
4
json.array!(@tournaments) do |tournament|
  json.extract! tournament, :id
  json.url tournament_url(tournament, format: :json)
end