more work on paginators

This commit is contained in:
albert
2011-06-21 14:32:07 -04:00
parent fab37bc0d3
commit 2f1fdcb459
16 changed files with 89 additions and 20 deletions

View File

@@ -20,7 +20,9 @@
</table>
<div id="paginator">
<%= will_paginate @forum_posts %>
<%= numbered_paginator(@forum_posts) do |page| %>
<%= link_to(page, forum_posts_path(:search => params[:search], :page => page)) %>
<% end %>
</div>
<%= render "forum_topics/secondary_links" %>