diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-02-27 17:58:14 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-02-27 17:58:14 -0500 |
commit | 8d75a450ec1e34205ec4bee5587e8bddb9c89d21 (patch) | |
tree | 349c6cd9c9669c94675becdeeaac1c29fd60022e /app/controllers/tournaments_controller.rb | |
parent | 6e20d92989739bde287c6a07c03ae3f70755660b (diff) | |
parent | 068e95231c3d2cee113cf77af67ce785d853429e (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/controllers/tournaments_controller.rb')
-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 |