BugFix: Fix undefined method compare_and_save (#921)

Fix undefined method `compare_and_save` in config loader
This commit is contained in:
Koichi MATSUMOTO 2020-06-05 02:03:10 +09:00 committed by GitHub
parent 89dafa366e
commit 72a25ffdc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ class ConfigLoader
if config if config
return false if config.value.to_s == account_features.to_s return false if config.value.to_s == account_features.to_s
compare_and_save(config) compare_and_save_feature(config)
else else
save_as_new_config({ name: 'ACCOUNT_LEVEL_FEATURE_DEFAULTS', value: account_features }) save_as_new_config({ name: 'ACCOUNT_LEVEL_FEATURE_DEFAULTS', value: account_features })
end end