1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-07 22:55:09 +00:00

Create bracket views with upcomingMatches

This commit is contained in:
2015-03-16 08:35:56 -04:00
parent 7b9422fd6c
commit 2843760779
8 changed files with 34 additions and 71 deletions

View File

@@ -1,18 +1,6 @@
class Matchup
attr_accessor :w1, :w2, :round, :weight_id, :boutNumber, :w1_name, :w2_name
# def w1
# end
# def w2
# end
# def round
# end
# def weight_id
# end
def weight_max
@weight = Weight.find(self.weight_id)
return @weight.max