mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
25 lines
778 B
Ruby
25 lines
778 B
Ruby
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/dependencies/autoload'
|
|
require 'active_support/core_ext/class/attribute'
|
|
require 'active_support/core_ext/module/attr_internal'
|
|
require 'active_support/core_ext/module/delegation'
|
|
require 'active_support/core_ext/module/anonymous'
|
|
require 'active_support/i18n'
|
|
|
|
module AbstractController
|
|
extend ActiveSupport::Autoload
|
|
|
|
autoload :Assigns
|
|
autoload :Base
|
|
autoload :Callbacks
|
|
autoload :Collector
|
|
autoload :Helpers
|
|
autoload :Layouts
|
|
autoload :Logger
|
|
autoload :Rendering
|
|
autoload :Translation
|
|
autoload :ViewPaths
|
|
end
|