Remove redundant undeleted pool checks

Post#pools already excludes deleted pools.
This commit is contained in:
Toks
2013-08-19 12:42:38 -04:00
parent 5cb909810d
commit 6b18c46c03
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<%= render "posts/partials/show/search_seq", :post => post %>
<% end %>
<% if post.pools.undeleted.any? %>
<% if post.pools.any? %>
<%= render "posts/partials/show/pools", :post => post %>
<% end %>
</div>