mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
add countless pagination
This commit is contained in:
1 parent
5670390b37
commit
9645332e48
17 files changed
+64
-30
No files matched your search
@@ -7,6 +7,6 @@ class TemplatesArchivedController < ApplicationController
|
||||
@templates = @templates.where.not(archived_at: nil).preload(:author, :folder, :template_accesses).order(id: :desc)
|
||||
@templates = Templates.search(@templates, params[:q])
|
||||
|
||||
@pagy, @templates = pagy(@templates, limit: 12)
|
||||
@pagy, @templates = pagy_auto(@templates, limit: 12)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user