use attachment secure_url for Attachemnt page

This commit is contained in:
Dmitriy Zaporozhets 2013-02-17 16:18:42 +02:00
parent 0d3b75845a
commit cfdf94fc27

View file

@ -9,7 +9,7 @@
- @notes.each do |note| - @notes.each do |note|
%tr %tr
%td %td
%a{href: note.attachment.url} = link_to note.attachment.secure_url, target: "_blank" do
= image_tag gravatar_icon(note.author_email), class: "avatar s24" = image_tag gravatar_icon(note.author_email), class: "avatar s24"
= note.attachment_identifier = note.attachment_identifier
%td %td