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

I guess we have to return a pathname object. o_O

上级 3f870f60
......@@ -652,7 +652,7 @@ def find_root_with_flag(flag, default=nil)
root = File.exist?("#{root_path}/#{flag}") ? root_path : default
raise "Could not find root path for #{self}" unless root
File.realpath root
Pathname.new File.realpath root
end
def default_middleware_stack
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册