aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-20 17:27:06 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-10-20 17:27:06 -0600
commitff76465131ec27235ea1661a588c199bfc150456 (patch)
tree9530927c65544f8908b5dbb546a35c7f3a5ecc4a /railties
parent328ec26cbe6cf8e85daf9646e7307b71be8fa7e9 (diff)
downloadrails-ff76465131ec27235ea1661a588c199bfc150456.tar.gz
rails-ff76465131ec27235ea1661a588c199bfc150456.tar.bz2
rails-ff76465131ec27235ea1661a588c199bfc150456.zip
Revert " Added an example to show how common secrets can be shared across multiple environments in secrets.yml"
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/secrets.yml16
1 files changed, 0 insertions, 16 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/secrets.yml b/railties/lib/rails/generators/rails/app/templates/config/secrets.yml
index 433133db98..b2669a0f79 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/secrets.yml
+++ b/railties/lib/rails/generators/rails/app/templates/config/secrets.yml
@@ -10,22 +10,6 @@
# Make sure the secrets in this file are kept private
# if you're sharing your code publicly.
-# You can also share common secrets in multiple environments
-# using YAML anchor/reference syntax.
-
-# common: &common
-# api_key: <%= API_KEY %>
-# api_secret: <%= API_SECRET %>
-
-# development:
-# <<: *common
-#
-# test:
-# <<: *common
-#
-# production:
-# <<: *common
-
development:
secret_key_base: <%= app_secret %>