pools/gallery: refactor post previews.

This commit is contained in:
evazion
2020-01-12 20:54:41 -06:00
parent 76c4ba6f18
commit 083ce75c10
6 changed files with 7 additions and 55 deletions

View File

@@ -5,7 +5,9 @@
<%= render "posts/partials/common/inline_blacklist" %>
<section>
<%= @post_set.presenter.post_previews_html(self) %>
<% @pools.each do |pool| %>
<%= PostPresenter.preview(pool.cover_post, link_target: pool, pool: pool, show_deleted: true) %>
<% end %>
<%= numbered_paginator(@pools) %>
</section>