fix-cache-returns-nil (#3213)
This commit is contained in:
parent
135bdd149e
commit
3b59f9c6c2
3 changed files with 61 additions and 7 deletions
|
@ -5,7 +5,7 @@ module Settings
|
|||
extend ActiveSupport::Concern
|
||||
|
||||
def settings
|
||||
ScopedSettings.for_thing(self)
|
||||
@settings ||= ScopedSettings.new(self)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue