Commit cfdf94fc279e45ddbe0bbb94022a7488c663501c

Authored by Dmitriy Zaporozhets
1 parent 0d3b7584

use attachment secure_url for Attachemnt page

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/projects/files.html.haml
... ... @@ -9,7 +9,7 @@
9 9 - @notes.each do |note|
10 10 %tr
11 11 %td
12   - %a{href: note.attachment.url}
  12 + = link_to note.attachment.secure_url, target: "_blank" do
13 13 = image_tag gravatar_icon(note.author_email), class: "avatar s24"
14 14 = note.attachment_identifier
15 15 %td
... ...