1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added overtime_type to matches

This commit is contained in:
2022-09-13 11:31:35 +00:00
parent 645fb59e5b
commit 994fc18365
9 changed files with 47 additions and 14 deletions

View File

@@ -80,7 +80,7 @@ class MatchesController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def match_params
params.require(:match).permit(:w1, :w2, :w1_stat, :w2_stat, :winner_id, :win_type, :score, :finished)
params.require(:match).permit(:w1, :w2, :w1_stat, :w2_stat, :winner_id, :win_type, :score, :overtime_type, :finished)
end
def check_access