hide archived completed page

This commit is contained in:
Pete Matsyburka
2025-10-22 20:37:08 +03:00
parent 747ffa8cf1
commit 23ecce51a3
4 changed files with 14 additions and 5 deletions
+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