1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/abstract_controller.rb

27 lines
534 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require "action_pack"
require "active_support/rails"
require "active_support/i18n"
module AbstractController
extend ActiveSupport::Autoload
2009-12-22 18:27:37 -05:00
autoload :Base
autoload :Caching
2009-12-22 18:27:37 -05:00
autoload :Callbacks
2010-01-23 04:23:06 -05:00
autoload :Collector
2013-07-10 18:23:44 -04:00
autoload :DoubleRenderError, "abstract_controller/rendering"
2009-12-22 18:27:37 -05:00
autoload :Helpers
autoload :Logger
autoload :Rendering
autoload :Translation
autoload :AssetPaths
autoload :UrlFor
def self.eager_load!
super
AbstractController::Caching.eager_load!
end
end