summaryrefslogtreecommitdiff
path: root/app/controllers/matches_controller.rb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-22 11:46:11 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-22 11:46:11 -0400
commitdb45b2441bd57a5e640b529ef6239c98a3030fe2 (patch)
treebcffce81e433821f6ddd9a6588b40ee1d5f84592 /app/controllers/matches_controller.rb
parent4aeaf0e41518695c3c6ba3b09025516f67b06a11 (diff)
parent474a048ae4a4fae86e7fde93745f0ea79c7ed717 (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
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 95f99a6..d7a8b99 100644
--- a/app/controllers/matches_controller.rb
+++ b/app/controllers/matches_controller.rb
@@ -250,7 +250,7 @@ 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
# Turn of check_edit, since our #update is flexible