Custom link generation with a proc
Reported by Hongli Lai | November 30th, 2007 @ 07:33 PM | in will_paginate v3.0 ("agnostic")
The standard links that will_paginate generates do not serve my needs. This patch makes it possible to pass a block to will_paginate() for custom link generation. See the documentation in the patch for usage.
Comments and changes to this ticket
-
Mislav December 19th, 2007 @ 04:07 PM
- State changed from new to open
- Title changed from PATCH for will_paginate: custom link generation to [PATCH] custom link generation
Thanks! I wanted to do this for a long time now, this got me focused on the issue and I'll try applying it in several days. Hopefully the will_paginate helper will be even more customizable than this!
-
Chris Wanstrath December 19th, 2007 @ 10:29 PM
- Assigned user changed from Chris Wanstrath to Mislav
-
Mislav October 8th, 2008 @ 11:20 PM
- Title changed from [PATCH] custom link generation to Custom link generation with a proc
- Milestone set to will_paginate v3.0 ("agnostic")
- Tag set to patch, will_paginate
-
Mislav August 23rd, 2011 @ 11:26 PM
- State changed from open to resolved
- Milestone order changed from 0 to 0
(from [be12b56289b9a9ede32d8ed2ab5dd51062dcdb2e]) enable access to ViewHelpers.pagination_options for Rails initializers
closes #165
https://github.com/mislav/will_paginate/commit/be12b56289b9a9ede32d...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Everyone's favorite Ruby library for pagination of practically anything!
People watching this ticket
- Nobody is watching this ticket.
Attachments
Tags
Referenced by
- 124 Change page_link_or_span api to take options I'm closing this ticket in favor of #165, which would so...
- 154 [PATCH] Improvements including custom link rendering Custom link rendering: follow ticket #165 for updates on...