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:
parent
4825042a1c
commit
45747a5572
1 changed files with 1 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue