aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/abstract_controller.rb')
-rw-r--r--actionpack/lib/abstract_controller.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/actionpack/lib/abstract_controller.rb b/actionpack/lib/abstract_controller.rb
new file mode 100644
index 0000000000..3a98931167
--- /dev/null
+++ b/actionpack/lib/abstract_controller.rb
@@ -0,0 +1,27 @@
+# frozen_string_literal: true
+
+require "action_pack"
+require "active_support/rails"
+require "active_support/i18n"
+
+module AbstractController
+ extend ActiveSupport::Autoload
+
+ autoload :ActionNotFound, "abstract_controller/base"
+ autoload :Base
+ autoload :Caching
+ autoload :Callbacks
+ autoload :Collector
+ autoload :DoubleRenderError, "abstract_controller/rendering"
+ autoload :Helpers
+ autoload :Logger
+ autoload :Rendering
+ autoload :Translation
+ autoload :AssetPaths
+ autoload :UrlFor
+
+ def self.eager_load!
+ super
+ AbstractController::Caching.eager_load!
+ end
+end