未验证 提交 c9a1403e 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #39372 from jasonhl/update-rack-docs

Add `ActionDispatch::ActionableExceptions` to default middleware docs
......@@ -116,6 +116,7 @@ use Rails::Rack::Logger
use ActionDispatch::ShowExceptions
use WebConsole::Middleware
use ActionDispatch::DebugExceptions
use ActionDispatch::ActionableExceptions
use ActionDispatch::Reloader
use ActionDispatch::Callbacks
use ActiveRecord::Migration::CheckPending
......@@ -261,6 +262,10 @@ Much of Action Controller's functionality is implemented as Middlewares. The fol
* Responsible for logging exceptions and showing a debugging page in case the request is local.
**`ActionDispatch::ActionableExceptions`**
* Provides a way to dispatch actions from Rails' error pages.
**`ActionDispatch::Reloader`**
* Provides prepare and cleanup callbacks, intended to assist with code reloading during development.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册