# How to delete Next and Previous from will\_paginate

**URL:** <https://www.ruby-forum.com/t/how-to-delete-next-and-previous-from-will-paginate/155075>\
**Category:** Rails\
**Created:** [December 7, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/how-to-delete-next-and-previous-from-will-paginate/155075 "2008-12-07T14:26:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [December 7, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/how-to-delete-next-and-previous-from-will-paginate/155075/1 "2008-12-07T14:26:52Z")

</div>

Hi there  
I am using will paginate in several scenarios. I want to delete the  
next and previous from it. Is there a way?

---

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [December 7, 2008, 3:24pm UTC](https://www.ruby-forum.com/t/how-to-delete-next-and-previous-from-will-paginate/155075/2 "2008-12-07T15:24:52Z")

</div>

On 7 Dec 2008, at 13:26, Shuaib85 wrote:

> Hi there  
> I am using will paginate in several scenarios. I want to delete the  
> next and previous from it. Is there a way?

You can supply a custom LinkRender subclass if you want to control how  
this sort of thing i displayed (might be a better way, that’s just how  
I would do it).

Fred
