From dea5ee83f0369d86f242cabd8527690695bcfe09 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Wed, 30 Jan 2019 13:53:51 +0000 Subject: [PATCH] Bracket name was not including the loser name --- app/models/match.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/match.rb b/app/models/match.rb index 8464995..a151f52 100644 --- a/app/models/match.rb +++ b/app/models/match.rb @@ -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