提交 8a42525d 编写于 作者: S Sean Griffin

Merge pull request #18789 from jafrog/master

A typo fix and a small clarification on `autoload_paths`
......@@ -461,8 +461,9 @@ Also, this collection is configurable via `config.autoload_paths`. For example,
by adding this to `config/application.rb`:
```ruby
config.autoload_paths += "#{Rails.root}/lib"
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 an effect.
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.
先完成此消息的编辑!
想要评论请 注册