i18n emails

This commit is contained in:
Pete Matsyburka authored and Oleksandr Turchyn committed 2024-09-23 11:45:07 +03:00
1 parent e6c20f5ff6
commit 2f530ccfca
13 files changed
+99 -71

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ module AccountConfigs
def find_or_initialize_for_key(account, key)
find_for_account(account, key) ||
account.account_configs.new(key:, value: AccountConfig::DEFAULT_VALUES[key])
account.account_configs.new(key:, value: AccountConfig::DEFAULT_VALUES[key]&.call)
end
def find_for_account(account, key)