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