hide archived completed page

This commit is contained in:
Pete Matsyburka committed 2025-10-22 22:03:39 +03:00
1 parent 747ffa8cf1
commit 23ecce51a3
4 files changed
+14 -5

No files matched your search

+3 -1
View File
@@ -75,7 +75,9 @@ class SubmitFormController < ApplicationController
render json: { error: e.message }, status: :unprocessable_content
end
def completed; end
def completed
raise ActionController::RoutingError, I18n.t('not_found') if @submitter.account.archived_at?
end
def success; end