Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Custom link generation with a proc

#165

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.

Reported by Hongli Lai · November 30th, 2007 @ 07:33 PM

State: resolved
Assigned to: Mislav Mislav

Activity

  1. Mislav
    Mislav
    • 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!

    December 19th, 2007 @ 04:07 PM

  2. Chris Wanstrath
    Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav

    December 19th, 2007 @ 10:29 PM

  3. Mislav
    Mislav
    • 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

    October 8th, 2008 @ 11:20 PM

  4. Mislav
    Mislav
    • State changed from open to resolved
    • Milestone order changed from 0 to 0

    August 23rd, 2011 @ 11:26 PM

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.