Rendering pagination via Ajax causes the links to point to ajax method
-
Michael Larkin
I guess what I'm driving at is I'd like an option to set the pagination URL:
@@@ Ruby <%= will_paginate :orders, :url => page_orders_path %>
-
Mislav
Hey Mike,
How about:
<%= will_paginate @collection, :params => { :action => 'index' } %>Didn't you read the API docs?
-
Michael Larkin
Mislav,
Apparently not closely enough, sorry!
Thanks, I'll give that a whirl!
-
Michael Larkin
Yep, that was exactly what I needed, thanks! Consider this one a non-bug.
-
Mislav
- State changed from new to invalid
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
