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

Added button to calculate all team scores

This commit is contained in:
2020-01-14 13:16:34 -05:00
parent e1d25d9cee
commit 7ffdd3edf5
4 changed files with 39 additions and 7 deletions

View File

@@ -53,6 +53,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"
post 'weights/:id/re_gen' => 'weights#re_gen', :as => :regen_weight
post "/wrestlers/update_pool" => "wrestlers#update_pool"