1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 17:31:14 +00:00
redmine/app/views/attachments/image.html.erb
Jean-Philippe Lang a8d8c213bb Use path instead of URL of image in preview (#25295).
Patch by Krzysztof Zielonka.

git-svn-id: http://svn.redmine.org/redmine/trunk@16463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 12:53:51 +00:00

4 lines
215 B
Plaintext

<%= render :layout => 'layouts/file' do %>
<%= render :partial => 'common/image', :locals => {:path => download_named_attachment_path(@attachment, @attachment.filename), :alt => @attachment.filename} %>
<% end %>