mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-21 06:08:12 +00:00
fix-cache-returns-nil (#3213)
This commit is contained in:
@@ -5,7 +5,7 @@ module Settings
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
def settings
|
||||
ScopedSettings.for_thing(self)
|
||||
@settings ||= ScopedSettings.new(self)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user