Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-17 18:18:42 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-17 18:18:42 +0400
commitcfdf94fc279e45ddbe0bbb94022a7488c663501c (patch)
tree40ef04727635322ffa365085d72df5b90bda447b /app
parent0d3b75845ae18475f74eaea0692ab532ce1ffd49 (diff)
use attachment secure_url for Attachemnt page
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/files.html.haml2
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