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 help