Skip to content
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

How to error #13

Open
michaelmafort opened this issue Jun 22, 2013 · 2 comments
Open

How to error #13

michaelmafort opened this issue Jun 22, 2013 · 2 comments

Comments

@michaelmafort
Copy link

You how to configure the plugin has the error on :renderer => WillPaginate::ActionView::LinkRenderer

As Rails 3 and will_paginate 3.0.4 the correct syntax is:
WillPaginate::ActionView::BootstrapLinkRenderer

Thanks for your plugin.

@gerow
Copy link

gerow commented Jun 25, 2013

I think I have the same issue to point out: the README doesn't adequately explain how to use the bootstrap pagination. I had to dig through the code in order to find out that I need to change my will_paginate call to "<%= will_paginate(@things, :renderer => WillPaginate::ActionView::BootstrapLinkRenderer) %>".

I'm not sure if this is just an oversight with some new versions or something, but this is a neat little gem that people might overlook because it does not explain its use!

@yrgoldteeth
Copy link
Owner

@michaelmafort I need to make that clearer. Those instructions are for the event when someone is using bootstrap-will_paginate but needs to not use the bootstrap renderer. By default, using bootstrap-will_paginate should just use the BootstrapLinkRenderer. I will have to check on why it may not be doing that anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants