lib/generators/avo/templates/initializer/avo.tt in avo-3.6.1 vs lib/generators/avo/templates/initializer/avo.tt in avo-3.6.2
- old
+ new
@@ -49,9 +49,15 @@
# config.default_view_type = :table
# config.per_page = 24
# config.per_page_steps = [12, 24, 48, 72]
# config.via_per_page = 8
# config.id_links_to_resource = false
+ # config.pagination = -> do
+ # {
+ # type: :default,
+ # size: [1, 2, 2, 1],
+ # }
+ # end
## == Cache options ==
## Provide a lambda to customize the cache store used by Avo.
## We compute the cache store by default, this is NOT the default, just an example.
# config.cache_store = -> {