Add allow registration switch
This commit is contained in:
@@ -47,6 +47,6 @@ class ContestsController < ApplicationController
|
||||
end
|
||||
|
||||
def contest_params
|
||||
params.expect(contest: [ :name ])
|
||||
params.expect(contest: [ :name, :team, :allow_registration ])
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user