1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-01 03:55:44 +00:00

Fixed bug on wrestler form to allow a tournament director to move a wrestler to another school

This commit is contained in:
2017-01-18 13:53:17 +00:00
parent b7775172a3
commit d7c82a8d71
2 changed files with 3 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ class WrestlersController < ApplicationController
def edit
@weight = @wrestler.weight
@weights = @school.tournament.weights.sort_by{|w| w.max}
@school = @wrestler.school
end
# POST /wrestlers