diff --git a/app/views/dmsf/_file.html.erb b/app/views/dmsf/_file.html.erb index 3c22b7c2..efddc09b 100644 --- a/app/views/dmsf/_file.html.erb +++ b/app/views/dmsf/_file.html.erb @@ -25,7 +25,7 @@ <%= check_box_tag(name, id, false, :title => l(:title_check_for_zip_download_or_email)) %> - <% file_download_url = url_for({:only_path => false, :controller => :dmsf_files, :action => 'show', :id => file, :download => ''}) %> + <% file_download_url = url_for({:only_path => true, :controller => :dmsf_files, :action => 'show', :id => file, :download => ''}) %> <%= link_to(h(title), file_download_url, :class => "icon icon-file #{DmsfHelper.filetype_css(file.name)}", @@ -180,4 +180,4 @@ 1 <%= file.last_revision.size %> <%= file.last_revision.updated_at.to_i %> -<%= file.last_revision.iversion %> \ No newline at end of file +<%= file.last_revision.iversion %>