mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Re-generating one weight classes matches - NEED TO REFACTOR and NEED TO WRITE TESTS
Code is repeated in the following classes: GenerateTournamentMatches PoolToBracketMatchGeneration PoolToBracketGenerateLoserNames WipeTournamentMatches
This commit is contained in:
@@ -51,6 +51,7 @@ Wrestling::Application.routes.draw do
|
||||
get 'tournaments/:id/error' => 'tournaments#error'
|
||||
post "/tournaments/:id/swap" => "tournaments#swap", :as => :swap_wrestlers
|
||||
|
||||
post 'weights/:id/re_gen' => 'weights#re_gen', :as => :regen_weight
|
||||
|
||||
#API
|
||||
get "/api/tournaments" => "api#tournaments"
|
||||
|
||||
Reference in New Issue
Block a user