diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-07-31 01:54:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-31 01:54:39 +0900 |
commit | 7195455561ce540f929729ffa9d66d21e9697b39 (patch) | |
tree | a847e5b2b93672b88f407cda5e1d8ea1bb56bcdc | |
parent | aa00aec32adcbc66ff07a9eb2853fe1407f2fc03 (diff) | |
parent | fab42177c1e8b6ea265a30ea7566547523422676 (diff) | |
download | rails-7195455561ce540f929729ffa9d66d21e9697b39.tar.gz rails-7195455561ce540f929729ffa9d66d21e9697b39.tar.bz2 rails-7195455561ce540f929729ffa9d66d21e9697b39.zip |
Merge pull request #36815 from emp823/master
Fix typo in autoload documentation [ci skip]
-rw-r--r-- | guides/source/autoloading_and_reloading_constants.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/autoloading_and_reloading_constants.md b/guides/source/autoloading_and_reloading_constants.md index 8cd2d353de..212cbfaf43 100644 --- a/guides/source/autoloading_and_reloading_constants.md +++ b/guides/source/autoloading_and_reloading_constants.md @@ -90,7 +90,7 @@ INFO. Autoload paths are called _root directories_ in Zeitwerk documentation, bu Within an autoload path, file names must match the constants they define as documented [here](https://github.com/fxn/zeitwerk#file-structure). -By default, the autoload paths of an application consist of all the subdirectories of `app` that exist when the application boots ---except for `aasets`, `javascripts`, `views`,--- plus the autoload paths of engines it might depend on. +By default, the autoload paths of an application consist of all the subdirectories of `app` that exist when the application boots ---except for `assets`, `javascripts`, `views`,--- plus the autoload paths of engines it might depend on. For example, if `UsersHelper` is implemented in `app/helpers/users_helper.rb`, the module is autoloadable, you do not need (and should not write) a `require` call for it: |