use attachment secure_url for Attachemnt page
This commit is contained in:
parent
0d3b75845a
commit
cfdf94fc27
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue