Commit 7cacaf18 authored by Sean McGivern's avatar Sean McGivern Committed by 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.
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment