From 86164c52009ea9976ff4741ce9e33fb50f7b273a Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 19 Feb 2013 21:45:43 -0500 Subject: [PATCH] link to post in comment searches --- app/views/comments/partials/show/_comment.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/comments/partials/show/_comment.html.erb b/app/views/comments/partials/show/_comment.html.erb index fc0940164..a55b3d62d 100644 --- a/app/views/comments/partials/show/_comment.html.erb +++ b/app/views/comments/partials/show/_comment.html.erb @@ -18,7 +18,7 @@
  • <%= link_to "Vote up", comment_votes_path(:comment_id => comment.id, :score => "up"), :method => :post, :remote => true %>
  • <%= link_to "Vote down", comment_votes_path(:comment_id => comment.id, :score => "down"), :method => :post, :remote => true %>
  • - <% if @comment %> + <% if @comment || @comments %>
  • <%= link_to "View post", post_path(post) %>
  • <% end %>