最新リビジョンファイルがダウンロードできない問題の措置(#2)
This commit is contained in:
parent
c0ffa3e195
commit
1a437e5387
@ -25,7 +25,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 = dmsf_file_path(file, :download => file.last_revision) %>
|
||||
<%= link_to(h(title),
|
||||
file_view_url,
|
||||
:target => "_blank",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user