additional fixes to support iqdbs

This commit is contained in:
Albert Yi
2016-12-01 12:22:34 -08:00
parent 73ff94e920
commit f46aaad39d
2 changed files with 21 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<% if @results.any? %>
<h3>Similar</h3>
<% @results.each do |match| %>
<%= PostPresenter.preview(Post.find(match.post_id), :tags => "status:any", :size => true) %>
<%= PostPresenter.preview(Post.find(match["post_id"]), :tags => "status:any", :size => true) %>
<% end %>
<% else %>
<h3>Similar</h3>