/comments: add vote buttons beneath thumbnails on /comments page.

Also fix an N+1 queries problem.
This commit is contained in:
evazion
2021-11-21 18:04:52 -06:00
parent be5173c8dd
commit 00befc96f0
4 changed files with 3 additions and 12 deletions

View File

@@ -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>