From 19bd2ac8f815ba3c261bf7b0abdb16e3a8bfc7ce Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Mon, 27 Apr 2015 14:15:28 -0400 Subject: [PATCH] Permit tournament_type in tournament controller. --- app/controllers/tournaments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb index f23dd7e..5830ad1 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -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