提交 cae2b5bb 编写于 作者: A Aaron Patterson

this always sets :public to false, so just do that

上级 d05d7e23
......@@ -169,7 +169,7 @@ def send_file_headers!(options)
# after it displays the "open/save" dialog, which means that if you
# hit "open" the file isn't there anymore when the application that
# is called for handling the download is run, so let's workaround that
response.cache_control[:public] ||= false
response.cache_control[:public] = false
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册