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.
This commit is contained in:
Sean McGivern 2017-01-10 15:46:47 +00:00 committed by James Edwards-Jones
parent 239743345a
commit 7cacaf18de
1 changed files with 1 additions and 1 deletions

View File

@ -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