Error to access hide comments

This commit is contained in:
Sergio Castellano Herrera
2017-06-06 10:05:48 +01:00
committed by decabeza
parent 54753fece4
commit 2905b24ee7

View File

@@ -34,7 +34,7 @@
<tr id="comment_<%= comment.id %>">
<td>
<%= comment.commentable_type.constantize.model_name.human %> -
<%= link_to comment.commentable.title, comment.commentable %>
<%= link_to comment.commentable.title, commentable_path(comment) %>
<br>
<span class="date"><%= l comment.updated_at.to_date %></span>
<span class="bullet">&nbsp;&bull;&nbsp;</span>