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:
okriuchykhin 2017-04-26 13:44:30 +02:00 committed by GitHub
commit 3735bbb0f8

View file

@ -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