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

Updating calculating team scores as a put

This commit is contained in:
2021-12-21 02:04:55 +00:00
parent 1c8e3af5f4
commit 194fbca978
5 changed files with 4 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ Wrestling::Application.routes.draw do
get 'tournaments/:id/export' => "tournaments#export"
post "/tournaments/:id/import" => "tournaments#import", :as => :import
get "/tournaments/:id/brackets" => "tournaments#show"
post "/tournaments/:id/calculate_team_scores" => "tournaments#calculate_team_scores"
put "/tournaments/:id/calculate_team_scores", :to => "tournaments#calculate_team_scores"
post 'weights/:id/re_gen' => 'weights#re_gen', :as => :regen_weight
post "/wrestlers/update_pool" => "wrestlers#update_pool"