1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-12 00:09:32 +00:00

Generate blank matchups for pool brackets

This commit is contained in:
2015-03-23 19:14:58 +00:00
parent b00d11a222
commit c1081ef64a
4 changed files with 69 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
class Matchup
attr_accessor :w1, :w2, :round, :weight_id, :boutNumber, :w1_name, :w2_name, :bracket_position
attr_accessor :w1, :w2, :round, :weight_id, :boutNumber, :w1_name, :w2_name, :bracket_position, :bracket_position_number
def weight_max
@weight = Weight.find(self.weight_id)