From 49a45a1c2f71bda36ff5cd989570b6666314cc52 Mon Sep 17 00:00:00 2001 From: albert Date: Sat, 2 Mar 2013 22:55:26 -0500 Subject: [PATCH] fixes #708 --- 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 378757712..468135de5 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)) %>