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.

Paginate view helpers

#22

Not everyone wants Digg-style pagination. There should be helpers to render just "previous/next" links.

Maybe reuse the same helper?

<%= will_paginate @entries, :previous %>
<%= will_paginate @entries, :next %>

Also, the name of the "page" param should be customizable (for localization). It would default to "page", naturally.

Reported by Mislav · May 23rd, 2007 @ 01:58 AM

State: resolved
Milestone: none
Assigned to: Mislav Mislav

Activity

  1. Mislav
    Mislav
    • State changed from open to resolved

    resolved in [426]

    December 25th, 2007 @ 04:26 AM

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.