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

Added functionality for a tournament director to move a wrestler to a pool that has a bye for greater flexibility

This commit is contained in:
2017-08-29 13:02:00 -04:00
parent f9fb3e4108
commit e168d0b51d
5 changed files with 64 additions and 7 deletions

View File

@@ -52,6 +52,7 @@ Wrestling::Application.routes.draw do
post "/tournaments/:id/swap" => "tournaments#swap", :as => :swap_wrestlers
post 'weights/:id/re_gen' => 'weights#re_gen', :as => :regen_weight
post "/wrestlers/update_pool" => "wrestlers#update_pool"
#API
get "/api/tournaments" => "api#tournaments"