Make asking for missing pieces in forms optional
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
sto
2026-08-25 09:26:29 +02:00
parent 95c336be65
commit 00e14b7cff
9 changed files with 20 additions and 5 deletions

View File

@@ -328,7 +328,7 @@ class ContestsController < ApplicationController
end
def settings_onsite_params
params.expect(contest: [ :code, :organizer_form ])
params.expect(contest: [ :code, :organizer_form, :missing_pieces ])
end
def settings_online_params