From fe3cd4a8eb5602f54d8febe64baf3a6259569580 Mon Sep 17 00:00:00 2001 From: Kornel Horvath Date: Tue, 3 Nov 2015 16:12:48 +0100 Subject: [PATCH] Fixed download link on main page --- app/views/dmsf/_file.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dmsf/_file.html.erb b/app/views/dmsf/_file.html.erb index c90eb28a..734b8296 100644 --- a/app/views/dmsf/_file.html.erb +++ b/app/views/dmsf/_file.html.erb @@ -27,7 +27,7 @@ <%= check_box_tag(name, id, false, :title => l(:title_check_for_zip_download_or_email)) %> - <% file_view_url = url_for({:only_path => false, :controller => :dmsf_files, :action => 'view', :id => file}) %> + <% file_view_url = url_for({:controller => :dmsf_files, :action => 'view', :id => file}) %> <%= link_to(h(title), file_view_url, :target => "_blank",