summaryrefslogtreecommitdiff
path: root/app/controllers/matches_controller.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-22 02:18:48 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-22 02:18:48 -0400
commit07476fd9a2b942e8d6056804bb1cdbd5e9a1c528 (patch)
treea3e0642ae64bef2bdda4b359f6712d5b09c5a70a /app/controllers/matches_controller.rb
parent96274bb53465d90632908ebc2f8fd9811d7a5bcb (diff)
run ./generate.sh
Diffstat (limited to 'app/controllers/matches_controller.rb')
-rw-r--r--app/controllers/matches_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb
index 968bb1e..b19faf4 100644
--- a/app/controllers/matches_controller.rb
+++ b/app/controllers/matches_controller.rb
@@ -69,6 +69,6 @@ class MatchesController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def match_params
- params.require(:match).permit(:status, :tournament_id, :name, :winner_id, :remote_id, :submitted_peer_evaluations)
+ params.require(:match).permit(:status, :tournament_stage_id, :name, :winner_id, :remote_id, :submitted_peer_evaluations)
end
end