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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user