refactor pool nav html

This commit is contained in:
Albert Yi
2018-11-01 17:20:03 -07:00
parent e334c34836
commit 542641e3e2
11 changed files with 107 additions and 133 deletions

View File

@@ -5,7 +5,7 @@
<% end %>
<% if post.pools.undeleted.any? %>
<%= render "posts/partials/show/pools", :post => post %>
<%= render "posts/partials/show/pool_list", post: post, pools: post.pools.undeleted.selected_first(params[:pool_id]) %>
<% end %>
<% if post.favorite_groups(active_id=params[:favgroup_id]).any? %>