1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 14:36:59 +00:00

Updated match generation view, created a bracket_type for weight, and

add DQ as a win type.
This commit is contained in:
2015-02-09 12:31:14 -05:00
parent 399318c6c0
commit 2e7e34125b
3 changed files with 18 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
class Match < ActiveRecord::Base
belongs_to :tournament
WIN_TYPES = ["Decision", "Major", "Tech Fall", "Pin", "Forfeit", "Injury Default", "Default"]
WIN_TYPES = ["Decision", "Major", "Tech Fall", "Pin", "Forfeit", "Injury Default", "Default", "DQ"]
attr_accessor :weight_max
def weight_max