summaryrefslogtreecommitdiff
path: root/app/views/brackets/index.json.jbuilder
blob: 8a666265fa4a69cbcf5d4b6f81d484d71d187e0b (plain)
1
2
3
4
json.array!(@brackets) do |bracket|
  json.extract! bracket, :id, :user_id, :tournament_id, :name
  json.url bracket_url(bracket, format: :json)
end