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:
@@ -104,7 +104,7 @@ class Match < ActiveRecord::Base
|
||||
if self.w1 != nil
|
||||
return "#{w1_name} (#{wrestler1.school.abbreviation})"
|
||||
else
|
||||
""
|
||||
"#{w1_name}"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -112,7 +112,7 @@ class Match < ActiveRecord::Base
|
||||
if self.w2 != nil
|
||||
return "#{w2_name} (#{wrestler2.school.abbreviation})"
|
||||
else
|
||||
""
|
||||
"#{w2_name}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user