You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
@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.
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.
The text was updated successfully, but these errors were encountered: