Some fixes
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-27 09:15:15 +02:00
parent 6888c1ac15
commit 54ada21e5c
4 changed files with 4 additions and 2 deletions

View File

@@ -221,6 +221,7 @@ class ContestantsController < ApplicationController
@contest = @contestant.contest
@puzzles = @contest.puzzles.where(hidden: false).or(@contest.puzzles.where(hidden: nil)).order(:id)
@completion = Completion.new
@completion.contest = @contest
@completion.code = @contest.code
render "completions/_form", locals: { completion: @completion, submit_text: t("helpers.buttons.validate"), method: :post, url: "/public/p/#{params[:contestant_id]}" }