rename deleted_at to archived_at

This commit is contained in:
Pete Matsyburka
2023-12-30 00:37:03 +02:00
parent cfb1bdcd52
commit 6d7d8ae87c
24 changed files with 71 additions and 65 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ class SubmissionsController < ApplicationController
end
def destroy
@submission.update!(deleted_at: Time.current)
@submission.update!(archived_at: Time.current)
redirect_back(fallback_location: template_path(@submission.template), notice: 'Submission has been archived')
end