Disallow comment flagging when showing valuations

This commit is contained in:
Bertocq
2018-01-30 19:19:26 +01:00
parent a4718f6555
commit 033c197580
3 changed files with 13 additions and 7 deletions

View File

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