summaryrefslogtreecommitdiff
path: root/app/controllers/games_controller.rb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-04-23 21:47:34 -0400
committerDavisLWebb <davislwebb@ymail.com>2014-04-23 21:47:34 -0400
commit8003c0f8326f231b6e0c8bb29feb48736271ea21 (patch)
treeec0fcef385cac365f6a0f2c3f348ef8a3d65d090 /app/controllers/games_controller.rb
parent8010bd28db76dd5783b2be046de4c63fa27738f6 (diff)
parentcfa41fcc58acc9ae50b84eb51e3d9fa9ecb3b79e (diff)
Merge branch 'clean2'
Conflicts: app/models/game.rb
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 1f0bdd8..aec5294 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(: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)
end
end