0.0
No release in over 3 years
Low commit activity in last 3 years
RadarServices (Bootstrap) Paginator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

RS-Paginator

rs_pagination implements Bootstrap pagination for generic collections.

Installation

$ gem install rs_paginator
require 'rs_paginator'

or use gem 'rs_paginator' in your Gemfile when using bundler.

Usage

Create a collection in your controller.

collection = RsPaginator::Collection(objects, 1, 10, 27)

And use it inside your view.

paginate(collection)