fixed post listing

This commit is contained in:
albert
2011-06-21 13:10:01 -04:00
parent 07f8dba7f2
commit fab37bc0d3
8 changed files with 80 additions and 56 deletions

View File

@@ -29,10 +29,7 @@
</aside>
<section id="content">
<% if @post_set.has_wiki? && @post_set.page < 2 %>
<%= render :partial => "wiki_pages/excerpt", :locals => {:wiki_page => @post_set.wiki_page, :tag => @post_set.tag} %>
<% end %>
<%= render :partial => "wiki_pages/excerpt", :locals => {:post_set => @post_set} %>
<%= render :partial => "posts/partials/index/posts", :locals => {:post_set => @post_set} %>
</section>