Change remaining instances of Pool#active to Pool#undeleted

The model method was renamed in b32783c, but some references in the post
view partials were not updated, causing errors.
This commit is contained in:
Kevin Xiwei Zheng
2013-08-19 12:05:34 -04:00
parent 46fba0f35b
commit 5cb909810d
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.active.any? %>
<% if post.pools.undeleted.any? %>
<%= render "posts/partials/show/pools", :post => post %>
<% end %>
</div>