Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2021-03-24 10:53:50 +01:00
53 changed files with 684 additions and 404 deletions

View File

@@ -64,7 +64,7 @@ module Settings
class << self
def default_settings
defaulting = DEFAULTING_TO_UNSCOPED.each_with_object({}) { |k, h| h[k] = Setting[k] }
defaulting = DEFAULTING_TO_UNSCOPED.index_with { |k| Setting[k] }
Setting.default_settings.merge!(defaulting)
end
end