mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-28 01:31:29 +00:00
Fixed win displays for brackets
This commit is contained in:
@@ -82,10 +82,10 @@ class Wrestler < ActiveRecord::Base
|
||||
return ""
|
||||
end
|
||||
if @match.first.winner_id == self.id
|
||||
return "W #{@match.first.score}"
|
||||
return "W #{@match.first.bracketScore}"
|
||||
end
|
||||
if @match.first.winner_id != self.id
|
||||
return "L #{@match.first.score}"
|
||||
return "L #{@match.first.bracketScore}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user