diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 484a3189c..fed074bdb 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -329,7 +329,7 @@ module ApplicationHelper imagesize = attachment.thumbnail(:size => "50*50") imagepath = named_attachment_path(attachment, attachment.filename) if imagesize - link_to image_tag(imagesize), + link_to image_tag(thumbnail_path(attachment,"50")), imagepath, :title => attachment.filename else