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

mime_type will always return a string

上级 c10efc83
......@@ -188,8 +188,7 @@ def content_type=(content_type)
# information.
def content_type
type = parse_content_type.mime_type
type && type.to_s
parse_content_type.mime_type
end
def sending_file=(v)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册