Merge pull request #2395 from consul/hidden-comments

Hidden comments
This commit is contained in:
BertoCQ
2018-02-05 20:27:05 +01:00
committed by GitHub
4 changed files with 67 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
<% if comment.commentable.hidden? %>
(<%= t("admin.comments.index.hidden_#{comment.commentable_type.downcase}") %>: <%= comment.commentable.title %>)
<% else %>
<%= link_to comment.commentable.title, comment.commentable %>
<%= link_to comment.commentable.title, commentable_path(comment) %>
<% end %>
</td>
<td>