mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-21 16:01:14 +00:00
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
This commit is contained in:
parent
2660a2e5b3
commit
a8d8c213bb
@ -1,3 +1,3 @@
|
||||
<%= render :layout => 'layouts/file' do %>
|
||||
<%= render :partial => 'common/image', :locals => {:path => download_named_attachment_url(@attachment, @attachment.filename), :alt => @attachment.filename} %>
|
||||
<%= render :partial => 'common/image', :locals => {:path => download_named_attachment_path(@attachment, @attachment.filename), :alt => @attachment.filename} %>
|
||||
<% end %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user