summaryrefslogtreecommitdiff
path: root/app/controllers/matches_controller.rb
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-04-01 18:52:51 -0400
committerTomer Kimia <tkimia@purdue.edu>2014-04-01 18:52:51 -0400
commitf3125c3087ac7d47d1698b328c76620f6a5464e8 (patch)
tree0317eb2937326d889e1b23f31dba9c756e3f4703 /app/controllers/matches_controller.rb
parentaa6e8f12a24e33d88a5751cee5e93bf4a038e2ef (diff)
parente6b160bd81e51e0bd88e5c2563a06ea5f0d64620 (diff)
Merge branch 'master' of https://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 b312e9e..53028a4 100644
--- a/app/controllers/matches_controller.rb
+++ b/app/controllers/matches_controller.rb
@@ -72,6 +72,6 @@ class MatchesController < ApplicationController
end
# 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)
+ params.require(:match).permit(:status, :tournament_id, :name, :winner_id, :remote_id)
end
end