2009-12-16 12:56:51 -05:00
|
|
|
activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__)
|
|
|
|
$:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path)
|
|
|
|
|
2009-12-20 17:06:40 -05:00
|
|
|
require 'active_support/ruby/shim'
|
2010-01-29 10:16:01 -05:00
|
|
|
require 'active_support/dependencies/autoload'
|
2010-02-26 05:51:21 -05:00
|
|
|
require 'active_support/core_ext/class/attribute'
|
2009-12-16 12:56:51 -05:00
|
|
|
require 'active_support/core_ext/module/attr_internal'
|
|
|
|
require 'active_support/core_ext/module/delegation'
|
2010-02-26 05:51:21 -05:00
|
|
|
require 'active_support/core_ext/module/anonymous'
|
2010-03-10 16:11:48 -05:00
|
|
|
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
|
|
|
|
autoload :Callbacks
|
2010-01-23 04:23:06 -05:00
|
|
|
autoload :Collector
|
2009-12-22 18:27:37 -05:00
|
|
|
autoload :Helpers
|
|
|
|
autoload :Layouts
|
|
|
|
autoload :Logger
|
|
|
|
autoload :Rendering
|
2010-01-20 08:41:23 -05:00
|
|
|
autoload :Translation
|
2010-06-02 17:49:02 -04:00
|
|
|
autoload :AssetPaths
|
2010-03-08 10:50:10 -05:00
|
|
|
autoload :ViewPaths
|
2009-08-06 21:51:24 -04:00
|
|
|
end
|