From 2905b24ee79a11a938cbbd1eeef19b800eca2d92 Mon Sep 17 00:00:00 2001 From: Sergio Castellano Herrera Date: Tue, 6 Jun 2017 10:05:48 +0100 Subject: [PATCH] Error to access hide comments --- app/views/moderation/comments/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/moderation/comments/index.html.erb b/app/views/moderation/comments/index.html.erb index 80c1e31cf..fd52d4a66 100644 --- a/app/views/moderation/comments/index.html.erb +++ b/app/views/moderation/comments/index.html.erb @@ -34,7 +34,7 @@ <%= comment.commentable_type.constantize.model_name.human %> - - <%= link_to comment.commentable.title, comment.commentable %> + <%= link_to comment.commentable.title, commentable_path(comment) %>
<%= l comment.updated_at.to_date %>  •