aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller.rb
blob: 109a3a3385c62b4c641c0cb307f7ea61239d51af (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'
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 :RenderingController
  end
end