diff --git a/app/views/comments/partials/show/_comment.html.erb b/app/views/comments/partials/show/_comment.html.erb index 69f1bab1e..4b12b6ab9 100644 --- a/app/views/comments/partials/show/_comment.html.erb +++ b/app/views/comments/partials/show/_comment.html.erb @@ -11,7 +11,7 @@ <% if @comment || @comments %> -
  • <%= link_to "View post", post_path(post) %>
  • +
  • <%= link_to "View post", post_path(comment.post_id) %>
  • <% else %>
  • <%= link_to "Reply", new_comment_path(:post_id => comment.post_id), :class => "reply-link", "data-comment-id" => comment.id %>
  • <% if comment.editable_by?(CurrentUser.user) %>