Skip to content
Snippets Groups Projects
Commit 7cacaf18 authored by Sean McGivern's avatar Sean McGivern Committed by James Edwards-Jones
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment