1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

config.autoload_paths is not changeable from environment specific configuration files.
This commit is contained in:
Mehmet Emin İNAÇ 2015-04-13 11:56:50 +03:00
parent 4825042a1c
commit 45747a5572

View file

@ -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):