add pagination to templates/users/submissions

This commit is contained in:
Alex Turchyn committed 2023-06-26 01:19:50 +03:00
1 parent d53fa5613b
commit 419ede5b1d
10 files changed
+70 -37

No files matched your search

+1 -1
View File
@@ -6,6 +6,6 @@ class DashboardController < ApplicationController
def index
return render 'pages/landing' unless signed_in?
@templates = current_account.templates.active
@pagy, @templates = pagy(current_account.templates.active, items: 12)
end
end