未验证 提交 b22a4971 编写于 作者: K Kasper Timm Hansen 提交者: GitHub

Merge pull request #31166 from freeletics/fix-example

Fixed example of `Rails.application.encrypted` method usage
......@@ -442,7 +442,7 @@ def credentials
# the file with the master key.
# The master key is either stored in `config/master.key` or `ENV["RAILS_MASTER_KEY"]`.
#
# Rails.application.encrypted("config/mystery_man.key").read
# Rails.application.encrypted("config/mystery_man.txt.enc").read
# # => "We've met before, haven't we?"
#
# It's also possible to interpret encrypted YAML files with `config`.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册