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

+8
View File
@@ -0,0 +1,8 @@
# frozen_string_literal: true
Pagy::DEFAULT[:items] = 10
Pagy::DEFAULT.freeze
ActiveSupport.on_load(:action_view) do
include Pagy::Frontend
end