1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-09 15:42:09 +00:00

Now naming loser of boutNumber in boutgen. Boutgen only run once now.

This commit is contained in:
2015-04-21 21:15:44 -04:00
parent a6757e6bfe
commit b61431930f
3 changed files with 69 additions and 41 deletions

View File

@@ -29,7 +29,7 @@ class Tournament < ActiveRecord::Base
def assignBouts(matches)
@bouts = Boutgen.new
@matches = @bouts.assignBouts(matches)
@matches = @bouts.assignBouts(matches,self.weights)
return @matches
end