Offline participation: already submitted page
All checks were successful
CI / scan_ruby (push) Successful in 17s
CI / scan_js (push) Successful in 14s
CI / lint (push) Successful in 14s
CI / test (push) Successful in 40s

This commit is contained in:
sto
2025-11-03 11:35:00 +01:00
parent 8d50c14a7b
commit d62b46b7df
4 changed files with 8 additions and 0 deletions

View File

@@ -124,6 +124,10 @@ class ContestsController < ApplicationController
if !@offline
not_found and return
end
if @offline.images.length > 1
render :offline_already_submitted and return
end
end
def offline_update