/comments: add vote buttons beneath thumbnails on /comments page.
Also fix an N+1 queries problem.
This commit is contained in:
@@ -12,10 +12,6 @@
|
||||
<strong>Rating</strong>
|
||||
<%= post.pretty_rating %>
|
||||
</span>
|
||||
<span class="info">
|
||||
<strong>Score</strong>
|
||||
<%= render_post_votes post, current_user: CurrentUser.user %>
|
||||
</span>
|
||||
</div>
|
||||
<div class="row list-of-tags">
|
||||
<strong>Tags</strong>
|
||||
|
||||
Reference in New Issue
Block a user