-
Notifications
You must be signed in to change notification settings - Fork 6
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
foundation_paginate doesn't support parameters of will_paginate #1
Comments
@simo2409 did you find a solution for this? |
@acrogenesis No, they are just "not supported" by the gem, I didn't write code because I was only trying it |
@simo2409 if you are still looking for a solution I found one here is the gist, just add this to your application helper |
@acrogenesis Interesting, thank you for sharing 👍 |
For anyone who finds this problem i made a new gem which works great for adding params and other things https://github.com/acrogenesis/will_paginate-foundation |
For example if you try to customize pagination param with:
<%= foundation_paginate @users, :param_name => :user_page %>
You get an error while it works with will_paginate:
<%= will_paginate @users, :param_name => :user_page %>
The text was updated successfully, but these errors were encountered: