fix-cache-returns-nil (#3213)

This commit is contained in:
masarakki
2017-05-25 12:18:08 +09:00
committed by Eugen Rochko
parent 135bdd149e
commit 3b59f9c6c2
3 changed files with 61 additions and 7 deletions

View File

@ -5,7 +5,7 @@ module Settings
extend ActiveSupport::Concern
def settings
ScopedSettings.for_thing(self)
@settings ||= ScopedSettings.new(self)
end
end
end