提交 6d894cf3 编写于 作者: X Xavier Noria

make clear that config/secrets.yml passes through ERB and therefore supports ENV

上级 7b5cf7ef
......@@ -16,5 +16,11 @@ development:
test:
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:
secret_key_base: <%= app_secret %>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册