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

Fixed bug in test for quickest pin then fixed bug in quickest pin tie breaker

This commit is contained in:
2015-12-17 14:48:07 +00:00
parent 702a52311b
commit 4bb81417a9
2 changed files with 4 additions and 4 deletions

View File

@@ -177,7 +177,7 @@ class Wrestler < ActiveRecord::Base
end
def fastestPin
pinWins.sort_by{|m| m.pinTime}.reverse.first
pinWins.sort_by{|m| m.pinTime}.first
end
def seasonWinPercentage