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
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user