summaryrefslogtreecommitdiffstats
path: root/app/views/attachments/file.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/attachments/file.html.erb')
-rw-r--r--app/views/attachments/file.html.erb2
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 %>
&nbsp;
- <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
+ <%= render_file_content(@attachment, @content) %>
<% end %>