module ActiveAdmin::Resource::Pagination
Attributes
max_per_page[RW]
The default number of records to display per page
paginate[RW]
Enable / disable pagination (defaults to true)
per_page[RW]
The default number of records to display per page
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/active_admin/resource/pagination.rb, line 16 def initialize(*args) super @paginate = true @per_page = namespace.default_per_page @max_per_page = namespace.max_per_page end