1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Move Abstract stuff to autoload

This commit is contained in:
Yehuda Katz 2009-03-12 13:18:15 -06:00
parent 0c92a51dad
commit 72b365ece9
2 changed files with 14 additions and 5 deletions

View file

@ -0,0 +1,8 @@
module AbstractController
autoload :Base, "action_controller/abstract/base"
autoload :Callbacks, "action_controller/abstract/callbacks"
autoload :Helpers, "action_controller/abstract/helpers"
autoload :Layouts, "action_controller/abstract/layouts"
autoload :Logger, "action_controller/abstract/logger"
autoload :Renderer, "action_controller/abstract/renderer"
end

View file

@ -15,8 +15,9 @@ rescue LoadError
# Debugging disabled. `gem install ruby-debug` to enable.
end
require 'action_controller/abstract/base'
require 'action_controller/abstract/renderer'
require 'action_controller/abstract/layouts'
require 'action_controller/abstract/callbacks'
require 'action_controller/abstract/helpers'
require 'action_controller/abstract'
# require 'action_controller/abstract/base'
# require 'action_controller/abstract/renderer'
# require 'action_controller/abstract/layouts'
# require 'action_controller/abstract/callbacks'
# require 'action_controller/abstract/helpers'