I'm making a Spree site that has links for changing the number of products per page including a link for All. The links for a number are easy because I can just pass a :per_page
param via the query string and helper methods. However, I can't figure out what I need to pass to either tell Kaminari to not paginate or to temporarily disable Kaminari.
I'm happy for a solution either in Spree or in Kaminari. I would prefer a method other than :per_page = 1000
or some similarly large number.
- Spree 0.70.3
- Kaminari 0.13.0