Skip to content

Commit

Permalink
Add config/tokens.yml template
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleiguaran committed Dec 12, 2013
1 parent 93ee9f0 commit cb0fbbe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/generators/rails/app/app_generator.rb
Expand Up @@ -78,6 +78,7 @@ def config
template "routes.rb" template "routes.rb"
template "application.rb" template "application.rb"
template "environment.rb" template "environment.rb"
template "tokens.yml"


directory "environments" directory "environments"
directory "initializers" directory "initializers"
Expand Down
@@ -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.