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

Added seeding criteria to wrestlers

This commit is contained in:
Jacob Cody Wimer
2014-01-31 07:44:05 -05:00
parent 74dbf63c85
commit e8fba379e0
6 changed files with 17 additions and 2 deletions

View File

@@ -102,6 +102,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, :season_win, :season_loss)
params.require(:wrestler).permit(:name, :school_id, :weight_id, :seed, :original_seed, :season_win, :season_loss,:criteria)
end
end