add pagination to templates/users/submissions
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user