Commit cfdf94fc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

use attachment secure_url for Attachemnt page

parent db6d9ef7e164
......@@ -9,7 +9,7 @@
- @notes.each do |note|
%a{href: note.attachment.url}
= link_to note.attachment.secure_url, target: "_blank" do
= image_tag gravatar_icon(note.author_email), class: "avatar s24"
= note.attachment_identifier
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment