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

Permit tournament_type in tournament controller.

This commit is contained in:
2015-04-27 14:15:28 -04:00
parent 3744ae2cf2
commit 19bd2ac8f8

View File

@@ -83,6 +83,6 @@ class TournamentsController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def tournament_params
params.require(:tournament).permit(:name, :address, :director, :director_email)
params.require(:tournament).permit(:name, :address, :director, :director_email, :tournament_type)
end
end