aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller.rb
blob: c15a1da98afa9ec41b908258d013acc722fef9e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__)
$:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path)

require 'active_support/ruby/shim'
require 'active_support/core_ext/module/attr_internal'
require 'active_support/core_ext/module/delegation'

module AbstractController
  extend ActiveSupport::Autoload

  deferrable do
    autoload :Base
    autoload :Callbacks
    autoload :Helpers
    autoload :Layouts
    autoload :LocalizedCache
    autoload :Logger
    autoload :Rendering
  end
end