Project

General

Profile

Patch #25295 ยป image.html.erb.patch

Krzysztof Zielonka, 2017-03-09 14:57

View differences:

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 %>
    (1-1/1)