1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Bracket name was not including the loser name

This commit is contained in:
2019-01-30 13:53:51 +00:00
parent 523e124c47
commit dea5ee83f0

View File

@@ -104,7 +104,7 @@ class Match < ActiveRecord::Base
if self.w1 != nil if self.w1 != nil
return "#{w1_name} (#{wrestler1.school.abbreviation})" return "#{w1_name} (#{wrestler1.school.abbreviation})"
else else
"" "#{w1_name}"
end end
end end
@@ -112,7 +112,7 @@ class Match < ActiveRecord::Base
if self.w2 != nil if self.w2 != nil
return "#{w2_name} (#{wrestler2.school.abbreviation})" return "#{w2_name} (#{wrestler2.school.abbreviation})"
else else
"" "#{w2_name}"
end end
end end