Add allow registration switch

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