From 980324862afbba777f993a0ebde074733f451ff3 Mon Sep 17 00:00:00 2001 From: Toks Date: Sat, 29 Jun 2013 14:19:28 -0400 Subject: [PATCH] fixes #1791 --- app/views/comments/index_by_post.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/comments/index_by_post.html.erb b/app/views/comments/index_by_post.html.erb index 0e8ae5eb0..acd9467f0 100644 --- a/app/views/comments/index_by_post.html.erb +++ b/app/views/comments/index_by_post.html.erb @@ -7,7 +7,7 @@ <% end %> <% @posts.select {|x| Danbooru.config.can_user_see_post?(CurrentUser.user, x)}.each do |post| %> -
+
<%= link_to(image_tag(post.preview_file_url), post_path(post)) %>