Displaying 1 result from an estimated 1 matches for "pagelink".
Did you mean:
page_link
2006 Jun 02
3
Custom Pagination Links
...previous)}, {:class => "prevlink"}) if
@my_pages.current.previous %>
<% for page in @my_pages -%>
<%= link_to_unless(params[:page].to_i == page.number, page.number,
{:params => params.merge(''page'' => page)},
{:class => "pagelink"}) {|link_name|
"<span class=\"currentpage\">#{link_name}</span>"} %>
<% end %>
<%= link_to(''Next >'', {:params => params.merge(''page'' =>
@my_pages.current.next)}, {:class => "nex...