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

Put weight class and school names on stats page

This commit is contained in:
2019-01-23 13:20:24 +00:00
parent 4eb75d45d3
commit 100317075b
2 changed files with 5 additions and 3 deletions

View File

@@ -131,10 +131,10 @@ class Match < ActiveRecord::Base
end
def list_w2_stats
"#{w2_name}: #{w2_stat}"
"#{w2_name} (#{wrestler2.school.name}): #{w2_stat}"
end
def list_w1_stats
"#{w1_name}: #{w1_stat}"
"#{w1_name} (#{wrestler1.school.name}): #{w1_stat}"
end
end