Merge pull request #466 from koffeine/fix-download-link

Fixed download links on main page
This commit is contained in:
Karel Picman 2015-11-04 10:00:56 +01:00
commit 9ec27e3727

View File

@ -27,7 +27,7 @@
<td class="check"><%= check_box_tag(name, id, false,
:title => l(:title_check_for_zip_download_or_email)) %></td>
<td class="title">
<% 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",