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