From cdde357ab679f487144ca4733bf0a6651b8eb0a8 Mon Sep 17 00:00:00 2001 From: mikong <4162+mikong@users.noreply.github.com> Date: Thu, 23 Jan 2020 12:49:47 +0800 Subject: [PATCH] Update list of middleware for API-only in Guides [ci skip] --- guides/source/api_app.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guides/source/api_app.md b/guides/source/api_app.md index f5f7007187..06b84a7bfc 100644 --- a/guides/source/api_app.md +++ b/guides/source/api_app.md @@ -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`