diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-27 13:10:09 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-27 13:10:09 -0400 |
commit | 347e339f7c8327b37d8a416073dc12fc3a78c895 (patch) | |
tree | 0288a4ee9f67c7c2f43af7d41b92df15dd5e3b6c /app/controllers | |
parent | 4dd92220deef1d844f779789a5c6cb218ae1f3b7 (diff) |
fix the Tournaments#new form getting submitted
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/tournaments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb index 62d32b1..5eba07c 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -198,7 +198,7 @@ class TournamentsController < ApplicationController end def tournament_stage_params(i) - params.require(:tournament).require(i.to_sym).permit(:scheduling_method, :seeding_method) + params.require(:tournament).require(:stages).require(i.to_s).permit(:scheduling_method, :seeding_method) end def is_owner?(object) |