-
Notifications
You must be signed in to change notification settings - Fork 162
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
Add padrino support #33
Comments
I know this is and old issue but I've succedeed using will_paginate-bootstrap with Padrino. I've added the following to my boot.rb (using DataMapper ORM): Padrino.before_load do Also I've added the following to my app.rb: I'm a Ruby/Padrino newbie so maybe it's not the best way to do this, but thanks to those lines I can use the will_paginate-bootstrap to paginate my results. I've tried to register the Sinatra Great gem indeed! Thx |
Thank you @n40lab for pointing out the critical line above. I didn't have |
Even, though, Padrino is a superset of Sinatra, the gem is not working in it.
This example made it work: https://gist.github.com/phildionne/5785087
The text was updated successfully, but these errors were encountered: