diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-17 18:18:42 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-17 18:18:42 +0400 |
commit | cfdf94fc279e45ddbe0bbb94022a7488c663501c (patch) | |
tree | 40ef04727635322ffa365085d72df5b90bda447b /app | |
parent | 0d3b75845ae18475f74eaea0692ab532ce1ffd49 (diff) |
use attachment secure_url for Attachemnt page
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/files.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/files.html.haml b/app/views/projects/files.html.haml index d108308318e..36948eff658 100644 --- a/app/views/projects/files.html.haml +++ b/app/views/projects/files.html.haml @@ -9,7 +9,7 @@ - @notes.each do |note| %tr %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" = note.attachment_identifier %td |