diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-17 16:18:42 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-17 16:18:42 +0200 |
commit | cfdf94fc279e45ddbe0bbb94022a7488c663501c (patch) | |
tree | 40ef04727635322ffa365085d72df5b90bda447b | |
parent | 0d3b75845ae18475f74eaea0692ab532ce1ffd49 (diff) | |
download | gitlab-ce-cfdf94fc279e45ddbe0bbb94022a7488c663501c.tar.gz |
use attachment secure_url for Attachemnt page
-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 |