1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-07 16:11:30 +00:00
redmine/app/views/attachments/file.html.erb
Jean-Philippe Lang 00e37d5ca7 Reduce view code duplication by using a nested layout for file rendering (#22058).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 19:14:52 +00:00

5 lines
170 B
Plaintext

<%= render :layout => 'layouts/file' do %>
&nbsp;
<%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
<% end %>