fixes #1179
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user