Add allow registration switch
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-15 12:52:07 +01:00
parent 1f0cbee9fd
commit 4b3bc58474
4 changed files with 18 additions and 5 deletions

View File

@@ -47,6 +47,6 @@ class ContestsController < ApplicationController
end
def contest_params
params.expect(contest: [ :name ])
params.expect(contest: [ :name, :team, :allow_registration ])
end
end