Recommend posts on /posts/show based on voting patterns
This commit is contained in:
7
app/views/posts/partials/index/_similar.html.erb
Normal file
7
app/views/posts/partials/index/_similar.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="recent-posts">
|
||||
<p>You might also like:</p>
|
||||
|
||||
<div>
|
||||
<%= PostSets::Similar.new(post).presenter.post_previews_html(self) %>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user