Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ Just like will_paginate, Rails and Sinatra are supported.

* `gem install will_paginate-bootstrap`, *or*
* For projects using Bundler, add `gem 'will_paginate-bootstrap'` to your `Gemfile` (and then run `bundle install`).
* You'll need to restart your server before you can make any use of this.

## Usage

### Rails

1. Load the Bootstrap CSS in your template.
1. Load the Bootstrap CSS in your template. (If you already installed twitter-bootstrap-rails, this should be done for you).
2. In your view, use the `renderer: BootstrapPagination::Rails` option with the `will_paginate` helper, for example:

```ruby
Expand Down