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
1 changed files with 1 additions and 3 deletions

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