Hide comment voting at valuation comment threads

This commit is contained in:
Bertocq
2018-01-30 03:19:36 +01:00
parent 26cf91c61a
commit 1c3924b527
2 changed files with 9 additions and 4 deletions

View File

@@ -42,7 +42,8 @@
<% comment_tree.root_comments.each do |comment| %>
<%= render 'comments/comment', { comment: comment,
comment_flags: comment_flags,
valuation: valuation } %>
valuation: valuation,
allow_votes: !valuation } %>
<% end %>
<%= paginate comment_tree.root_comments %>
</div>