app/views/attachments/image.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/attachments/image.html.erb b/app/views/attachments/image.html.erb
index 3064583..b0d2258 100644
--- a/app/views/attachments/image.html.erb
+++ b/app/views/attachments/image.html.erb
@@ -1,3 +1,3 @@
<%= render :layout => 'layouts/file' do %>
- <%= render :partial => 'common/image', :locals => {:path => download_named_attachment_url(@attachment, @attachment.filename), :alt => @attachment.filename} %>
+ <%= render :partial => 'common/image', :locals => {:path => download_named_attachment_path(@attachment, @attachment.filename), :alt => @attachment.filename} %>
<% end %>