major refactoring of post sets and pagination, incomplete

This commit is contained in:
albert
2011-06-03 19:47:16 -04:00
parent ce0695c606
commit ca3e9bb6db
21 changed files with 475 additions and 204 deletions

View File

@@ -5,5 +5,7 @@
<div class="clearfix"></div>
<div class="paginator">
<%= post_set.presenter.pagination_html(self) %>
<%= smart_paginator(post_set) do |page| %>
<%= link_to(page, posts_path(:page => page, :tags => params[:tags])) %>
<% end %>
</div>