page size and unsaved changes contr. refactor
This commit is contained in:
parent
9b521c1f2b
commit
5bd0cf7ae0
2 changed files with 12 additions and 16 deletions
|
|
@ -10,7 +10,7 @@
|
|||
# You can set any pagy variable as a Pagy::DEFAULT. They can also be overridden per instance by just passing them to
|
||||
# Pagy.new|Pagy::Countless.new|Pagy::Calendar::*.new or any of the #pagy* controller methods
|
||||
# Here are the few that make more sense as DEFAULTs:
|
||||
# Pagy::DEFAULT[:limit] = 20 # default
|
||||
Pagy::DEFAULT[:limit] = 100 # default
|
||||
# Pagy::DEFAULT[:size] = 7 # default
|
||||
# Pagy::DEFAULT[:ends] = true # default
|
||||
# Pagy::DEFAULT[:page_param] = :page # default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue