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:
parent
239743345a
commit
7cacaf18de
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ module Projects
|
||||||
end
|
end
|
||||||
|
|
||||||
def tmp_path
|
def tmp_path
|
||||||
@tmp_path ||= File.join(Settings.pages.path, 'tmp')
|
@tmp_path ||= File.join(::Settings.pages.path, 'tmp')
|
||||||
end
|
end
|
||||||
|
|
||||||
def pages_path
|
def pages_path
|
||||||
|
|
Loading…
Reference in a new issue