Sha256: 48122d42268ce2a846110350bff57e92ec512c18145f6e394373e3e1f5c86e5c

Contents?: true

Size: 800 Bytes

Versions: 16

Compression:

Stored size: 800 Bytes

Contents

# frozen_string_literal: true

require "action_pack"
require "active_support"
require "active_support/rails"
require "active_support/i18n"
require "abstract_controller/deprecator"

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!
    AbstractController::Base.descendants.each do |controller|
      unless controller.abstract?
        controller.eager_load!
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
actionpack-7.1.5 lib/abstract_controller.rb
actionpack-7.1.4.2 lib/abstract_controller.rb
actionpack-7.1.4.1 lib/abstract_controller.rb
actionpack-7.1.4 lib/abstract_controller.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3.4/lib/abstract_controller.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/abstract_controller.rb
actionpack-7.1.3.4 lib/abstract_controller.rb
actionpack-7.1.3.2 lib/abstract_controller.rb
actionpack-7.1.3.1 lib/abstract_controller.rb
actionpack-7.1.3 lib/abstract_controller.rb
actionpack-7.1.2 lib/abstract_controller.rb
actionpack-7.1.1 lib/abstract_controller.rb
actionpack-7.1.0 lib/abstract_controller.rb
actionpack-7.1.0.rc2 lib/abstract_controller.rb
actionpack-7.1.0.rc1 lib/abstract_controller.rb
actionpack-7.1.0.beta1 lib/abstract_controller.rb