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
1 changed files with 2 additions and 0 deletions

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`