mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Fix dowloand of export zip files from local storage [SCI-1128]
This commit is contained in:
parent
e3f4d38424
commit
cf7d0ea248
|
@ -8,7 +8,7 @@ class ZipExportsController < ApplicationController
|
|||
else
|
||||
send_file @zip_export.zip_file.path,
|
||||
filename: URI.unescape(@zip_export.zip_file_file_name),
|
||||
type: @zip_export.file_content_type
|
||||
type: 'application/zip'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue