aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-09-20 08:10:03 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-09-20 08:10:56 +0900
commit96fe56357a4bb61e2c5aeaceb6021ad07cacad45 (patch)
treee94ee786f1dc937a5d514f038da1675ae97d1ea7 /railties/lib/rails
parent2f8ecdb21d110ae2f862582cc31e5a10f487a3b7 (diff)
downloadrails-96fe56357a4bb61e2c5aeaceb6021ad07cacad45.tar.gz
rails-96fe56357a4bb61e2c5aeaceb6021ad07cacad45.tar.bz2
rails-96fe56357a4bb61e2c5aeaceb6021ad07cacad45.zip
Use credentials in `storage.yml` template
Follow up of #30650
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/storage.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/storage.yml b/railties/lib/rails/generators/rails/app/templates/config/storage.yml
index 9ad779d334..9bada4b66d 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/storage.yml
+++ b/railties/lib/rails/generators/rails/app/templates/config/storage.yml
@@ -10,7 +10,7 @@ local:
# amazon:
# service: S3
# access_key_id: <%%= Rails.application.credentials.dig(:aws, :access_key_id) %>
-# secret_access_key: <%%= Rails.application.secrets.dig(:aws, :secret_access_key) %>
+# secret_access_key: <%%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
# region: us-east-1
# bucket: your_own_bucket