Module: PaginationParamConcern
- Defined in:
- app/controllers/concerns/pagination_param_concern.rb
Overview
Handle pagination
Instance Attribute Summary collapse
-
#default_per_page ⇒ Object
writeonly
Sets the attribute default_per_page.
Instance Attribute Details
#default_per_page=(value) ⇒ Object
Sets the attribute default_per_page
7 8 9 |
# File 'app/controllers/concerns/pagination_param_concern.rb', line 7 def default_per_page=(value) @default_per_page = value end |