提交 7cacaf18 编写于 作者: S Sean McGivern 提交者: James Edwards-Jones

Fix constant resolution in UpdatePagesService

There is now a `Projects::Settings` module, for the members
controller. Ensure that we get the actual settings, not that module.
上级 23974334
......@@ -130,7 +130,7 @@ module Projects
end
def tmp_path
@tmp_path ||= File.join(Settings.pages.path, 'tmp')
@tmp_path ||= File.join(::Settings.pages.path, 'tmp')
end
def pages_path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册