refactor cropped images into explore/posts/intro

This commit is contained in:
r888888888
2017-09-12 13:03:59 -07:00
parent 31a3baf2b9
commit 4fb55657c0
6 changed files with 40 additions and 5 deletions

View File

@@ -16,7 +16,7 @@
<% @presenter.each do |tag, post_set| %>
<div class="posts">
<h2><%= link_to tag, posts_path(:tags => tag) %></h2>
<%= post_set.presenter.post_previews_html(self) %>
<%= post_set.presenter.post_previews_html(self, show_cropped: true) %>
<div class="clearfix"></div>
</div>
<% end %>