|
|
@ -193,9 +193,8 @@ module ApplicationHelper
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def thumbnail_tag(attachment)
|
|
|
|
def thumbnail_tag(attachment)
|
|
|
|
imagepath = named_attachment_path(attachment, attachment.filename)
|
|
|
|
link_to image_tag(thumbnail_path(attachment)),
|
|
|
|
link_to image_tag(imagepath),
|
|
|
|
named_attachment_path(attachment, attachment.filename),
|
|
|
|
imagepath ,
|
|
|
|
|
|
|
|
:title => attachment.filename
|
|
|
|
:title => attachment.filename
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|