summaryrefslogtreecommitdiff
path: root/app/controllers/matches_controller.rb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-03-02 21:14:48 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-03-02 21:14:48 -0500
commit31444c5a8cf56473a326227932dd36785c905ed1 (patch)
treed1398492d724eb4d9a32146e87596f7a0fb80622 /app/controllers/matches_controller.rb
parentec0ee835e8671fc5a421b7e7bcb54d4eec6deedb (diff)
parentfefe3f469243d6c932c256cc8798bae35e4ff1c4 (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 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