mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added current season record for wrestlers and updated show command for weights and schools
This commit is contained in:
@@ -90,6 +90,6 @@ class WrestlersController < ApplicationController
|
||||
|
||||
# Never trust parameters from the scary internet, only allow the white list through.
|
||||
def wrestler_params
|
||||
params.require(:wrestler).permit(:name, :school_id, :weight_id, :seed, :original_seed)
|
||||
params.require(:wrestler).permit(:name, :school_id, :weight_id, :seed, :original_seed, :season_win, :season_loss)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user