提交 45747a55 编写于 作者: M Mehmet Emin İNAÇ

Fix the wrong documentation about config.autoload_paths [ci skip]

config.autoload_paths is not changeable from environment specific configuration files.
上级 4825042a
......@@ -466,9 +466,7 @@ by adding this to `config/application.rb`:
config.autoload_paths << "#{Rails.root}/lib"
```
`config.autoload_paths` is accessible from environment-specific configuration
files, but any changes made to it outside `config/application.rb` don't have any
effect.
`config.autoload_paths` is not changeable from environment-specific configuration files.
The value of `autoload_paths` can be inspected. In a just generated application
it is (edited):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册