mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix comment about initializers to adapt to the fact
Currently the comment says application configuration should go into files in `config/initializers`. However some configuration couldn't initialize correctly because of the initializing process(e.g. `config.time_zone`). It should be changed by framework but this is large change and it may occur malfunction to some applications which depends on current initializing process. So this comment is changed to adapt to the fact.
This commit is contained in:
parent
6783bcab7a
commit
13c66b1244
1 changed files with 3 additions and 2 deletions
|
@ -27,8 +27,9 @@ module <%= app_const_base %>
|
||||||
config.load_defaults <%= Rails::VERSION::STRING.to_f %>
|
config.load_defaults <%= Rails::VERSION::STRING.to_f %>
|
||||||
|
|
||||||
# Settings in config/environments/* take precedence over those specified here.
|
# Settings in config/environments/* take precedence over those specified here.
|
||||||
# Application configuration should go into files in config/initializers
|
# Application configuration can go into files in config/initializers
|
||||||
# -- all .rb files in that directory are automatically loaded.
|
# -- all .rb files in that directory are automatically loaded after loading
|
||||||
|
# the framework and any gems in your application.
|
||||||
<%- if options.api? -%>
|
<%- if options.api? -%>
|
||||||
|
|
||||||
# Only loads a smaller set of middleware suitable for API only apps.
|
# Only loads a smaller set of middleware suitable for API only apps.
|
||||||
|
|
Loading…
Reference in a new issue