Patch #25295 ยป image.html.erb.patch
app/views/attachments/image.html.erb | ||
---|---|---|
1 | 1 |
<%= render :layout => 'layouts/file' do %> |
2 |
<%= render :partial => 'common/image', :locals => {:path => download_named_attachment_url(@attachment, @attachment.filename), :alt => @attachment.filename} %>
|
|
2 |
<%= render :partial => 'common/image', :locals => {:path => download_named_attachment_path(@attachment, @attachment.filename), :alt => @attachment.filename} %>
|
|
3 | 3 |
<% end %> |