summaryrefslogtreecommitdiff
path: root/app/controllers/tournaments_controller.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-06 17:34:41 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-06 17:34:41 -0500
commit0e8af95b4656d851cc43b45f8c48fd2c4d4c1ed2 (patch)
tree263f0e970f8ce981470e591d94d14700810d7853 /app/controllers/tournaments_controller.rb
parent240d8602fb6aaf249b33db7b0c2f8a72add63658 (diff)
parentf5d36fc67d1994b7cc1ce02e7be2767ffcb47857 (diff)
merge ready?
Diffstat (limited to 'app/controllers/tournaments_controller.rb')
-rw-r--r--app/controllers/tournaments_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb
index 1d17205..cf618aa 100644
--- a/app/controllers/tournaments_controller.rb
+++ b/app/controllers/tournaments_controller.rb
@@ -81,6 +81,6 @@ class TournamentsController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def tournament_params
- params.require(:tournament).permit(:game_id, :game)
+ params.require(:tournament).permit(:game, :game_id, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams, :status)
end
end