diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-19 17:11:32 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-19 17:11:32 -0300 |
commit | 1fa3a241c2485654f3cfa2287c19cd6785d265d9 (patch) | |
tree | fae9ab02981f3ae358e17139a9a1de9b8929018d /guides | |
parent | 9ce59f66490e753809b6942001a9ffa8bf385bc1 (diff) | |
parent | 3a98877d7301abfa68787bc7bf441cbb5e3a88b1 (diff) | |
download | rails-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.md | 2 |
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 |