summaryrefslogtreecommitdiff
path: root/app/controllers/games_controller.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-06 17:25:40 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-06 17:25:40 -0500
commitf5d36fc67d1994b7cc1ce02e7be2767ffcb47857 (patch)
tree03afe3bea27d2963525d7509690ec6b39e5648f9 /app/controllers/games_controller.rb
parentd0545c2820d101a98b3c895cf6e3691145a62f3c (diff)
new generate
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 4ecff17..5780152 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, :players_per_team, :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)
end
end