Results 1 to 2 of 2
Thread: will_paginate and partials
Feb 21, 2008, 20:08 #1
- Join Date
- May 2007
- 0 Post(s)
- 0 Thread(s)
will_paginate and partials
Hello I have a view (add_category.html.erb) and within it a partial that shows the category list. The list items are draggable in order to remove them (when I drop one of them on the waste bin remove_category is called and it removes the category) and all works just fine.
The list in paginate (though will_pagination) and here there is my issue: after dropping an item. The pagination links are /remove_category?page=N instead /add_category?page=N so when I click one of them it shows only the partial.
How can I keep the links /add_category?page=N even after dropping items.
Thanks, I appreciate your helpAlla prossima ...