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:
parent
d80714e083
commit
cdde357ab6
1 changed files with 2 additions and 0 deletions
|
@ -199,6 +199,7 @@ Choosing Middleware
|
||||||
|
|
||||||
An API application comes with the following middleware by default:
|
An API application comes with the following middleware by default:
|
||||||
|
|
||||||
|
- `ActionDispatch::HostAuthorization`
|
||||||
- `Rack::Sendfile`
|
- `Rack::Sendfile`
|
||||||
- `ActionDispatch::Static`
|
- `ActionDispatch::Static`
|
||||||
- `ActionDispatch::Executor`
|
- `ActionDispatch::Executor`
|
||||||
|
@ -209,6 +210,7 @@ An API application comes with the following middleware by default:
|
||||||
- `Rails::Rack::Logger`
|
- `Rails::Rack::Logger`
|
||||||
- `ActionDispatch::ShowExceptions`
|
- `ActionDispatch::ShowExceptions`
|
||||||
- `ActionDispatch::DebugExceptions`
|
- `ActionDispatch::DebugExceptions`
|
||||||
|
- `ActionDispatch::ActionableExceptions`
|
||||||
- `ActionDispatch::Reloader`
|
- `ActionDispatch::Reloader`
|
||||||
- `ActionDispatch::Callbacks`
|
- `ActionDispatch::Callbacks`
|
||||||
- `ActiveRecord::Migration::CheckPending`
|
- `ActiveRecord::Migration::CheckPending`
|
||||||
|
|
Loading…
Reference in a new issue