1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-16 04:56:58 +00:00

Set up blank bracket matches for fourPools

This commit is contained in:
2015-03-23 18:17:06 +00:00
parent 20f9b7f016
commit 27883597ca
5 changed files with 252 additions and 188 deletions

View File

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