abstract_controller.rb 855 B

12345678910111213141516171819202122232425262728
  1. activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__)
  2. $:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path)
  3. require 'action_pack'
  4. require 'active_support/concern'
  5. require 'active_support/ruby/shim'
  6. require 'active_support/dependencies/autoload'
  7. require 'active_support/core_ext/class/attribute'
  8. require 'active_support/core_ext/module/attr_internal'
  9. require 'active_support/core_ext/module/delegation'
  10. require 'active_support/core_ext/module/anonymous'
  11. require 'active_support/i18n'
  12. module AbstractController
  13. extend ActiveSupport::Autoload
  14. autoload :Base
  15. autoload :Callbacks
  16. autoload :Collector
  17. autoload :Helpers
  18. autoload :Layouts
  19. autoload :Logger
  20. autoload :Rendering
  21. autoload :Translation
  22. autoload :AssetPaths
  23. autoload :ViewPaths
  24. autoload :UrlFor
  25. end