summaryrefslogtreecommitdiff
path: root/app/controllers/matches_controller.rb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-02 21:10:49 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-02 21:10:49 -0500
commitfefe3f469243d6c932c256cc8798bae35e4ff1c4 (patch)
tree7a413b2c3bcfb0cd6842c70ae0ff962b6908172c /app/controllers/matches_controller.rb
parentc7469584f3fa51666d5df074d012741cbb2f3663 (diff)
Added Tournament Name.
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 e9f3c5a..984be3f 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(:tournament_id)
+ params.require(:match).permit(:tournament_id, :name)
end
end