https://github.com/amatsuda/kaminari
gem 'kaminari'
- SCSS Flavor (Asset Pipeline): https://github.com/anjlab/bootstrap-rails
- Less Flavor (Asset Pipeline): https://github.com/seyhunak/twitter-bootstrap-rails
- Vanilla: https://github.com/twitter/bootstrap
Add Kaminari and some form of Twitter Bootstrap to your project.
Require bootstrap_kaminari
in your Gemfile:
gem 'bootstrap_kaminari'
or
gem 'bootstrap_kaminari', :git => 'git://github.com/dleavitt/bootstrap_kaminari.git'
The theme is namespaced, so invoke it like this:
paginate @items, theme: "bootstrap"