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

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