add pagination to templates/users/submissions

This commit is contained in:
Alex Turchyn
2023-06-24 01:01:54 +03:00
parent d53fa5613b
commit 419ede5b1d
10 changed files with 70 additions and 37 deletions
+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