Skip to content

clarify a few things in the README #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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