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

Update list of middleware for API-only in Guides

[ci skip]
This commit is contained in:
mikong 2020-01-23 12:49:47 +08:00
parent d80714e083
commit cdde357ab6
No known key found for this signature in database
GPG key ID: 5FDA1DA9B09E49BA

View file

@ -199,6 +199,7 @@ Choosing Middleware
An API application comes with the following middleware by default:
- `ActionDispatch::HostAuthorization`
- `Rack::Sendfile`
- `ActionDispatch::Static`
- `ActionDispatch::Executor`
@ -209,6 +210,7 @@ An API application comes with the following middleware by default:
- `Rails::Rack::Logger`
- `ActionDispatch::ShowExceptions`
- `ActionDispatch::DebugExceptions`
- `ActionDispatch::ActionableExceptions`
- `ActionDispatch::Reloader`
- `ActionDispatch::Callbacks`
- `ActiveRecord::Migration::CheckPending`