make clear that config/secrets.yml passes through ERB and therefore supports ENV
This commit is contained in:
parent
7b5cf7ef9d
commit
6d894cf3ea
@ -16,5 +16,11 @@ development:
|
|||||||
test:
|
test:
|
||||||
secret_key_base: <%= app_secret %>
|
secret_key_base: <%= app_secret %>
|
||||||
|
|
||||||
|
# This YAML file is processed by ERB first (as others). In particular the
|
||||||
|
# production environment can set the secret via an environment variable
|
||||||
|
# this way:
|
||||||
|
#
|
||||||
|
# secret_key_base: <%%= ENV['SECRET_KEY_BASE'] %>
|
||||||
|
#
|
||||||
production:
|
production:
|
||||||
secret_key_base: <%= app_secret %>
|
secret_key_base: <%= app_secret %>
|
||||||
|
Loading…
Reference in New Issue
Block a user