diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-27 17:02:10 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-02-27 17:02:10 -0500 |
commit | de40ec53e8b80d8d880214183f19ea93172a0026 (patch) | |
tree | cb25d099fa0252d2b43db850f21c69ccd03907e3 /app/controllers | |
parent | 3a7b14f4a51c0fdb8b71720f361a0a8ccf080325 (diff) |
give tournaments a game type
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 ea3857c..720305f 100644 --- a/app/controllers/tournaments_controller.rb +++ b/app/controllers/tournaments_controller.rb @@ -69,6 +69,6 @@ class TournamentsController < ApplicationController # Never trust parameters from the scary internet, only allow the white list through. def tournament_params - params[:tournament] + params.require(:tournament).permit(:game_id) end end |