提交 1fa3a241 编写于 作者: R Rafael Mendonça França

Merge pull request #15823 from yuki24/better-docmentation-for-dynamic-error-pages

ErrorsController shouldn't inherit ApplicationController, but ActionController
......@@ -1191,7 +1191,7 @@ Create the controller and views.
* `app/controllers/errors_controller.rb`
```ruby
class ErrorsController < ApplicationController
class ErrorsController < ActionController::Base
layout 'error'
def not_found
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册