diff options
author | nfoy <nfoy@purdue.edu> | 2014-04-26 20:57:26 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-04-26 20:57:26 -0400 |
commit | 31d458e59077340f28955033735f5c433197cb75 (patch) | |
tree | 8784a35b5d50f32ce693c0427b277f7238c6d691 /app/controllers/games_controller.rb | |
parent | 00f3d70445d7cae0976ec9794e555c52a1765b24 (diff) | |
parent | edcca83c6c251a79afcd83760cf20ebaf00b3b32 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/controllers/games_controller.rb')
-rw-r--r-- | app/controllers/games_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index aec5294..09119c8 100644 --- a/app/controllers/games_controller.rb +++ b/app/controllers/games_controller.rb @@ -67,6 +67,6 @@ class GamesController < ApplicationController # Never trust parameters from the scary internet, only allow the white list through. def game_params - params.require(:game).permit(:parent_id, :name, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams, :sampling_method) + params.require(:game).permit(:parent_id, :name, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams, :sampling_method, :scoring_method) end end |