1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 05:43:47 +00:00

Dealing with double byes

This commit is contained in:
2020-01-24 10:30:50 -05:00
parent bae349a2c9
commit 80841e15ae
2 changed files with 30 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ class Match < ActiveRecord::Base
def w1_bracket_name_round_one
if self.w1 != nil
return "#{wrestler1.original_seed} #{w1_name} - #{wrestler1.school.name}"
return "#{wrestler1.original_seed} #{w1_name} - #{wrestler1.school.abbreviation}"
else
"#{w1_name}"
end
@@ -155,7 +155,7 @@ class Match < ActiveRecord::Base
def w2_bracket_name_round_one
if self.w2 != nil
return "#{wrestler2.original_seed} #{w2_name} - #{wrestler2.school.name}"
return "#{wrestler2.original_seed} #{w2_name} - #{wrestler2.school.abbreviation}"
else
"#{w2_name}"
end