Skip to content
Browse files

Add config/tokens.yml template

  • Loading branch information...
1 parent 93ee9f0 commit cb0fbbeac8c36ca01329c623d29bf75daa994840 @guilleiguaran guilleiguaran committed Dec 10, 2013
View
1 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -78,6 +78,7 @@ def config
template "routes.rb"
template "application.rb"
template "environment.rb"
+ template "tokens.yml"
directory "environments"
directory "initializers"
View
8 railties/lib/rails/generators/rails/app/templates/config/tokens.yml
@@ -0,0 +1,8 @@
+development:
+ secret_key_base: <%= app_secret %>
+
+test:
+ secret_key_base: <%= app_secret %>
+
+production:
+ secret_key_base: <%= app_secret %>

0 comments on commit cb0fbbe

Please sign in to comment.
Something went wrong with that request. Please try again.