diff --git a/app/views/attachments/image.html.erb b/app/views/attachments/image.html.erb index 306458366..b0d2258d7 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 %>