Allow different remote translation keys per tenant

Note we don't need to update the tests; the tests themselves help us
confirm that `Rails.application.secrets` and `Tenant.current_secrets`
return the same object on single-tenant applications.
This commit is contained in:
Javi Martín
2022-09-29 22:58:10 +02:00
parent 338f4929ca
commit 18f1d5c1a3
4 changed files with 9 additions and 6 deletions

View File

@@ -57,7 +57,8 @@ staging:
# my_tenant_subdomain:
# secret_key: my_secret_value
#
# Currently you can overwrite SMTP, SMS and manager settings.
# Currently you can overwrite SMTP, SMS, manager and microsoft API
# settings.
<<: *maps
<<: *apis
@@ -92,7 +93,8 @@ preproduction:
# my_tenant_subdomain:
# secret_key: my_secret_value
#
# Currently you can overwrite SMTP, SMS and manager settings.
# Currently you can overwrite SMTP, SMS, manager and microsoft API
# settings.
twitter_key: ""
twitter_secret: ""
facebook_key: ""
@@ -132,7 +134,8 @@ production:
# my_tenant_subdomain:
# secret_key: my_secret_value
#
# Currently you can overwrite SMTP, SMS and manager settings.
# Currently you can overwrite SMTP, SMS, manager and microsoft API
# settings.
twitter_key: ""
twitter_secret: ""
facebook_key: ""