summaryrefslogtreecommitdiff
path: root/app/controllers/games_controller.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-22 02:18:48 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-22 02:18:48 -0400
commit07476fd9a2b942e8d6056804bb1cdbd5e9a1c528 (patch)
treea3e0642ae64bef2bdda4b359f6712d5b09c5a70a /app/controllers/games_controller.rb
parent96274bb53465d90632908ebc2f8fd9811d7a5bcb (diff)
run ./generate.sh
Diffstat (limited to 'app/controllers/games_controller.rb')
-rw-r--r--app/controllers/games_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb
index e9620b4..db610bc 100644
--- a/app/controllers/games_controller.rb
+++ b/app/controllers/games_controller.rb
@@ -69,6 +69,6 @@ class GamesController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def game_params
- params.require(:game).permit(:name, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams)
+ params.require(:game).permit(:name, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams, :sampling_method)
end
end