2017-07-24 16:20:53 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-08-06 12:51:43 -04:00
|
|
|
require "action_pack"
|
|
|
|
require "active_support/rails"
|
|
|
|
require "active_support/i18n"
|
2009-08-06 21:51:24 -04:00
|
|
|
|
|
|
|
module AbstractController
|
2009-12-02 23:01:01 -05:00
|
|
|
extend ActiveSupport::Autoload
|
|
|
|
|
2009-12-22 18:27:37 -05:00
|
|
|
autoload :Base
|
2016-02-23 17:55:49 -05:00
|
|
|
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
|
2013-07-05 08:34:39 -04:00
|
|
|
autoload :Rendering
|
2010-01-20 08:41:23 -05:00
|
|
|
autoload :Translation
|
2010-06-02 17:49:02 -04:00
|
|
|
autoload :AssetPaths
|
2010-08-03 13:36:53 -04:00
|
|
|
autoload :UrlFor
|
2016-02-23 17:55:49 -05:00
|
|
|
|
|
|
|
def self.eager_load!
|
|
|
|
super
|
|
|
|
AbstractController::Caching.eager_load!
|
|
|
|
end
|
2009-08-06 21:51:24 -04:00
|
|
|
end
|