# Pagination problem: pagination anchors not working

**URL:** <https://www.ruby-forum.com/t/pagination-problem-pagination-anchors-not-working/92441>\
**Category:** Rails\
**Created:** [April 19, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/pagination-problem-pagination-anchors-not-working/92441 "2007-04-19T15:14:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stanly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/65b543/32.png) [@stanly](https://www.ruby-forum.com/u/stanly)\
**Post date:** [April 19, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/pagination-problem-pagination-anchors-not-working/92441/1 "2007-04-19T15:14:04Z")

</div>

Hello everyone,

I am having some problem with the navigation anchors of paginator. Here  
are the details of what i am doing:  
I have a list of users displayed in the “list” action obtained from the  
db. Now in the view i have an image tag with every record to delete that  
particular user. A javascript function is triggered which than calls the  
controller action “delete\_user” and renders the new updated users list.  
Here is the javascript function:

new Ajax.Updater(‘user\_list\_display’, ‘delete\_user/’ + id,  
{asynchronous:false});

Every thing seems to be working fine uptil now. But the problem is that  
when the new list is rendered the pagination anchors stop working. And  
the action they are pointing to is the “manage/delete\_user/25?page=2”.  
And i expect that to be this “manage/list?page=2”.

The url of the browser is unchanged and points to “manage/list” but dont  
know why pagination anchors are pointing to that “delete\_user” action.

Can anybody guide me to what i am missing or doing wrong…

Thanks
