diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-02-27 17:41:59 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-02-27 17:41:59 -0500 |
commit | f3f17dcd9755020276062caae7c0677eff88cb2f (patch) | |
tree | 36018148c3335f708269075f41c8892a62d0c85b /app/controllers | |
parent | de40ec53e8b80d8d880214183f19ea93172a0026 (diff) |
Added the Games Attributes stuff.
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/games_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb index 0a9d8e8..4ecff17 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) + params.require(:game).permit(:name, :players_per_team, :teams_per_match, :set_rounds, :randomized_teams) end end |