1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-03 05:27:25 +00:00

Extra fixed in wrestler controller and in school view

This commit is contained in:
vagrant
2015-02-06 03:30:27 +00:00
parent f4059009ba
commit 2b1f0f4ddf
2 changed files with 5 additions and 1 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,:criteria)
params.require(:wrestler).permit(:name, :school_id, :weight_id, :seed, :original_seed, :season_win, :season_loss,:criteria,:extra)
end
end