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

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

This reverts commit cae2b5bb.

I am an idiot.
上级 cae2b5bb
......@@ -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.
先完成此消息的编辑!
想要评论请 注册