Forum: Ruby on Rails will_paginate urls and AJAX calls

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
trev (Guest)
on 2009-04-29 10:56
(Received via mailing list)
I am using will_paginate to paginate my site. I also have a
link_to_remote in my view that will toggle view modes (from list to
icon view). My will_paginate code works fine until I click on my
link_to_remote. At that point my will_paginate code (which is in the
partial that is updated in the link_to_remote) is broken.

i.e. the link changes from /documents?page=1 to /documents/toggle_view?

Here are some code snippets:

Any help on this would be great.

Sijo k. (Guest)
on 2009-04-29 14:30
This topic is locked and can not be replied to.