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

Revert "Still trying to generate matches from tournament."

This reverts commit e3a1323d39.
This commit is contained in:
2015-03-17 09:34:36 -04:00
parent e3a1323d39
commit 662a1ad498

View File

@@ -15,7 +15,6 @@ class Tournament < ActiveRecord::Base
@wrestlers = self.wrestlers
self.weights.sort_by{|x|[x.max]}.each do |weight|
@upcomingMatches = generateMatchups(@matches,@wrestlers,weight)
@matches = @upcomingMatches
end
@upcomingMatches = assignBouts(@upcomingMatches)
return @upcomingMatches