Error to access hide comments

This commit is contained in:
Sergio Castellano Herrera
2017-06-06 10:02:48 +01:00
committed by decabeza
parent 1207b5ce51
commit 54753fece4

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>