debian-mirror-gitlab/debian/gems-compat/actionpack-5.1.7/lib/abstract_controller.rb
2019-08-02 22:44:51 +05:30

24 lines
503 B
Ruby

require "action_pack"
require "active_support/rails"
require "active_support/i18n"
module AbstractController
extend ActiveSupport::Autoload
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