rename deleted_at to archived_at

This commit is contained in:
Pete Matsyburka committed 2023-12-30 00:37:03 +02:00
1 parent cfb1bdcd52
commit 6d7d8ae87c
24 files changed
+71 -65

No files matched your search

+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