diff options
Diffstat (limited to 'app/views/attachments/file.html.erb')
-rw-r--r-- | app/views/attachments/file.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/attachments/file.html.erb b/app/views/attachments/file.html.erb index af5ea78dc..e19b9127e 100644 --- a/app/views/attachments/file.html.erb +++ b/app/views/attachments/file.html.erb @@ -1,4 +1,4 @@ <%= render :layout => 'layouts/file' do %> - <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %> + <%= render_file_content(@attachment, @content) %> <% end %> |