diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-25 17:47:32 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-25 17:47:32 -0400 |
commit | 433fc302fe2943e89a36657affea39d578475d20 (patch) | |
tree | ac22866f93f9353ab9c82978d2eac2fbe0927a4c /app/controllers | |
parent | 4e754e04d6bd04267e5a55011aa9f4f2a2fc7859 (diff) |
Match Status added
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/matches_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb index 8329da5..d79a7fc 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, :name, :winner_id) + params.require(:match).permit(:status, :tournament_id, :name, :winner_id) end end |