diff --git a/app/views/static_pages/all_brackets.html.erb b/app/views/static_pages/all_brackets.html.erb index 8d50da0..fecebfc 100644 --- a/app/views/static_pages/all_brackets.html.erb +++ b/app/views/static_pages/all_brackets.html.erb @@ -13,6 +13,7 @@ <% @weight = w %> <% @matches = @tournament.upcomingMatches.select{|m| m.weight_id == @weight.id} %> <% @wrestlers = Wrestler.where(weight_id: @weight.id) %> + <% @pools = w.poolRounds(@matches) %>
<%= @weight.max %> lbs Bracket
<%= render 'pool' %>