首页 > 代码库 > redmine 中文附件下载文件找不到

redmine 中文附件下载文件找不到

/redmine/app/views/attachments/_links.html.erb

找到

<p><%= link_to_attachment attachment, :class => ‘icon icon-attachment‘, :download => true -%>

替换为

<p><%= link_to attachment.filename, attachment_path(attachment) , :class => ‘icon icon-attachment‘, :download => true %>


重启redmine