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
+1
View File
@@ -47,6 +47,7 @@ class AccountsController < ApplicationController
authorize!(:manage, current_account)
true_user.update!(locked_at: Time.current, email: true_user.email.sub('@', '+removed@'))
true_user.account.update!(archived_at: Time.current)
# rubocop:disable Layout/LineLength
render turbo_stream: turbo_stream.replace(