Commit Graph

12 Commits

Author SHA1 Message Date
Yuki Nishijima baf4704978 Add the ability to keep params in the link to first page
fixes #44
2015-03-01 10:23:44 -08:00
Zbigniew Pieslak c1807031ac Add max_pages and max_pages_per methods to limit displayed pages per model or globally 2012-10-19 19:35:26 +02:00
Keiko Oda 7af1e87db4 Change default value of max_per_page from 0 to nil 2012-08-28 00:54:45 -07:00
Keiko Oda c77867681e Add max_per_page configuration option 2012-08-27 22:15:19 -07:00
Akira Matsuda 7cb1827d54 avoid "method redefined" warning 2012-02-14 19:21:53 +09:00
Akira Matsuda 3cf929f7d0 refs #57, #162 let the pagination method name (defaulted to `page`) configurable
now Kaminari can live together with associations named `page` and models having method named `page`
2011-12-17 16:33:06 +09:00
Akira Matsuda 7f45b8ea21 Revert "Also added support for blocks as well as procs and lambdas"
This reverts commit 55427d29be.

Reason: The test didn't pass.
2011-05-03 22:10:35 +09:00
Adam Kerr 55427d29be Also added support for blocks as well as procs and lambdas 2011-05-02 14:59:13 -04:00
Adam Kerr 1636a28f8f param_name configure via block 2011-05-02 13:37:18 -04:00
Sergey Avseyev 5bd0ccc681 Use Kaminari.config to specify default value for param_name 2011-04-22 13:26:11 +03:00
Akira Matsuda 4c73ad56db refs #41 helper options are configurable now!
configurable values are: window, outer_window, left, right
2011-04-21 16:45:08 +09:00
Akira Matsuda 5a9303fe79 refs #41 general configuration options
make DEFAULT_PER_PAGE configurable via Kaminiar.configure method
2011-04-21 16:45:02 +09:00