Adds test for not using moderation links in my own comments

This commit is contained in:
kikito
2015-08-24 18:36:56 +02:00
parent 36fb9b60b2
commit c6976b0905
3 changed files with 33 additions and 11 deletions

View File

@@ -69,9 +69,7 @@
<%= link_to(comment_link_text(comment), "",
class: "js-add-comment-link", data: {'id': dom_id(comment)}) %>
<% if moderator? %>
<%= render 'comments/actions', comment: comment %>
<% end %>
<%= render 'comments/actions', comment: comment %>
<%= render 'comments/form', {parent: comment, toggeable: true} %>
<% end %>