diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-04-01 13:22:25 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-04-16 09:35:45 +0900 |
commit | 827bfe4f41c39eade078e26ad5653979891d89c7 (patch) | |
tree | 968930eeb8c8f052b39183dabf81762c165fa776 /Rakefile | |
parent | e7f45d370ab10ad86a748ff2ec8b34c54d87b0bf (diff) | |
download | rails-827bfe4f41c39eade078e26ad5653979891d89c7.tar.gz rails-827bfe4f41c39eade078e26ad5653979891d89c7.tar.bz2 rails-827bfe4f41c39eade078e26ad5653979891d89c7.zip |
Use the config value directly when call `secrets`
Currently, `read_encrypted_secrets` is set with initializer.
Therefore if refer to `secrets` in config, `read_encrypted_secrets` is false,
so can not get the value of `secrets.yml.enc`.
In order to be able to refer to secrets in config, modified to refer to
`config.read_encrypted_secrets` when calling `secrets`.
Fixes #28618.
Diffstat (limited to 'Rakefile')
0 files changed, 0 insertions, 0 deletions