summaryrefslogtreecommitdiff
path: root/app/controllers/tournaments_controller.rb
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 21:30:30 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 21:30:30 -0500
commit5f8baf6334f427506193ea8efd1356812468e191 (patch)
tree216b749f9d589739eefa69e02122ed60654a2d9b /app/controllers/tournaments_controller.rb
parent7bcd854443e368806cf1f4ece562c157db723d1a (diff)
parentc9f2abad7b9c967e23ed2b2867d426eb27f61387 (diff)
Merge branch 'clean'
Conflicts: app/controllers/tournaments_controller.rb
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 6fc3ad6..27765df 100644
--- a/app/controllers/tournaments_controller.rb
+++ b/app/controllers/tournaments_controller.rb
@@ -106,6 +106,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, :game_id, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams, :status)
+ params.require(:tournament).permit(:game, :game_id, :status, :min_players_per_team, :max_players_per_team, :min_teams_per_match, :max_teams_per_match, :set_rounds, :randomized_teams)
end
end