This commit is contained in:
Toks
2013-04-11 12:14:47 -04:00
parent d8da37e11c
commit b2a43bb028
2 changed files with 6 additions and 2 deletions

View File

@@ -30,7 +30,9 @@
<% end %>
<div id="wiki-page-posts">
<h2>Posts</h2>
<% if Post.fast_count(@wiki_page.title) > 0 %>
<h2>Posts</h2>
<% end %>
<%= @wiki_page.post_set.presenter.post_previews_html(self) %>
</div>

View File

@@ -33,7 +33,9 @@
</div>
<div id="wiki-page-posts">
<h2>Posts</h2>
<% if Post.fast_count(@wiki_page.title) > 0 %>
<h2>Posts</h2>
<% end %>
<%= @wiki_page.post_set.presenter.post_previews_html(self) %>
</div>
</section>