diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-13 14:50:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-13 14:50:43 +0900 |
commit | 0c743885baba1681ad43376f6444b52a306fdfd9 (patch) | |
tree | 0133bab281040447b3a7d33761b24931ff9ffcfc | |
parent | 1a4eb55a827a8641c19e03219d881f4aaba9748b (diff) | |
parent | 13c66b12445bbaf18850b564fbe19f589fd019fe (diff) | |
download | rails-0c743885baba1681ad43376f6444b52a306fdfd9.tar.gz rails-0c743885baba1681ad43376f6444b52a306fdfd9.tar.bz2 rails-0c743885baba1681ad43376f6444b52a306fdfd9.zip |
Merge pull request #31572 from kami-zh/fix-template
Fix comment about initializers to adapt to the fact
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb.tt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/application.rb.tt index 9e03e86771..d1a09f9c3c 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb.tt @@ -27,8 +27,9 @@ module <%= app_const_base %> config.load_defaults <%= Rails::VERSION::STRING.to_f %> # Settings in config/environments/* take precedence over those specified here. - # Application configuration should go into files in config/initializers - # -- all .rb files in that directory are automatically loaded. + # Application configuration can go into files in config/initializers + # -- all .rb files in that directory are automatically loaded after loading + # the framework and any gems in your application. <%- if options.api? -%> # Only loads a smaller set of middleware suitable for API only apps. |