mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-31 11:35:45 +00:00
Refactored match generation so I can eventually support multiple types of tournaments
This commit is contained in:
@@ -163,7 +163,7 @@ class TournamentsController < ApplicationController
|
||||
end
|
||||
|
||||
def generate_matches
|
||||
@tournament.generateMatchups
|
||||
GenerateTournamentMatches.new(@tournament).generate
|
||||
end
|
||||
|
||||
def brackets
|
||||
|
||||
Reference in New Issue
Block a user