mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-22 06:44:55 +08:00
Merge pull request #578 from okriuchykhin/ok_SCI_1128
Fix dowload of export zip files from local storage [SCI-1128]
This commit is contained in:
commit
3735bbb0f8
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class ZipExportsController < ApplicationController
|
||||||
else
|
else
|
||||||
send_file @zip_export.zip_file.path,
|
send_file @zip_export.zip_file.path,
|
||||||
filename: URI.unescape(@zip_export.zip_file_file_name),
|
filename: URI.unescape(@zip_export.zip_file_file_name),
|
||||||
type: @zip_export.file_content_type
|
type: 'application/zip'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue