mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
rename deleted_at to archived_at
This commit is contained in:
1 parent
cfb1bdcd52
commit
6d7d8ae87c
24 files changed
+71
-65
No files matched your search
@@ -4,7 +4,7 @@ class TemplatesArchivedController < ApplicationController
|
||||
load_and_authorize_resource :template, parent: false
|
||||
|
||||
def index
|
||||
@templates = @templates.where.not(deleted_at: nil).preload(:author, :folder).order(id: :desc)
|
||||
@templates = @templates.where.not(archived_at: nil).preload(:author, :folder).order(id: :desc)
|
||||
@templates = Templates.search(@templates, params[:q])
|
||||
|
||||
@pagy, @templates = pagy(@templates, items: 12)
|
||||
|
||||
Reference in new issue
Block a user