aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-06-19 17:11:32 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-06-19 17:11:32 -0300
commit1fa3a241c2485654f3cfa2287c19cd6785d265d9 (patch)
treefae9ab02981f3ae358e17139a9a1de9b8929018d /guides
parent9ce59f66490e753809b6942001a9ffa8bf385bc1 (diff)
parent3a98877d7301abfa68787bc7bf441cbb5e3a88b1 (diff)
downloadrails-1fa3a241c2485654f3cfa2287c19cd6785d265d9.tar.gz
rails-1fa3a241c2485654f3cfa2287c19cd6785d265d9.tar.bz2
rails-1fa3a241c2485654f3cfa2287c19cd6785d265d9.zip
Merge pull request #15823 from yuki24/better-docmentation-for-dynamic-error-pages
ErrorsController shouldn't inherit ApplicationController, but ActionController
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_controller_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index 0d1bd2061d..57097ab146 100644
--- a/guides/source/action_controller_overview.md
+++ b/guides/source/action_controller_overview.md
@@ -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