1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Fixed all_brackets page

This commit is contained in:
2015-04-22 09:00:16 -04:00
parent f1aa7384a1
commit 4fc10e82ec

View File

@@ -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) %>
<h5><%= @weight.max %> lbs Bracket</h5>
<%= render 'pool' %>