mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-30 19:22:21 +00:00
Still trying to generate matches from tournament.
This commit is contained in:
@@ -15,6 +15,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user