aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2018-11-28 14:21:19 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2018-11-28 14:21:19 -0500
commit00638f31d1f5c914bac32c5f00cb0e0693274b99 (patch)
treebe99d4174e3dd1e437ab1f2dfaf22d24e840bd7d /actionpack/lib
parent9c6e362a632b15dd4f56534b30144926c29fa323 (diff)
downloadrails-00638f31d1f5c914bac32c5f00cb0e0693274b99.tar.gz
rails-00638f31d1f5c914bac32c5f00cb0e0693274b99.tar.bz2
rails-00638f31d1f5c914bac32c5f00cb0e0693274b99.zip
Add autoload hook for AbstractController::ActionNotFound
The error can be reproduced with require "bundler/setup" require "action_controller" AbstractController::ActionNotFound
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/abstract_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/abstract_controller.rb b/actionpack/lib/abstract_controller.rb
index 0477e7f1c9..3a98931167 100644
--- a/actionpack/lib/abstract_controller.rb
+++ b/actionpack/lib/abstract_controller.rb
@@ -7,6 +7,7 @@ require "active_support/i18n"
module AbstractController
extend ActiveSupport::Autoload
+ autoload :ActionNotFound, "abstract_controller/base"
autoload :Base
autoload :Caching
autoload :Callbacks