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

Merge pull request #44102 from haberbyte/fix_autoloading_doc_typo

Fix typo in autoloading docs

[ci-skip]
This commit is contained in:
Ryuta Kamizono 2022-01-07 18:27:55 +09:00 committed by GitHub
commit 2b05b25809
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,7 +245,7 @@ ApiGateway.endpoint = "https://example.com" # DO NOT DO THIS
a reloaded `ApiGateway` would have a `nil` endpoint, because the code above does not run again.
You can still set things up during boot, but you need to wrap them in a `to_prepare` block, which is runs on boot, and after each reload:
You can still set things up during boot, but you need to wrap them in a `to_prepare` block, which runs on boot, and after each reload:
```ruby
# config/initializers/api_gateway_setup.rb