diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-03-12 13:18:15 -0600 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-03-12 13:18:15 -0600 |
commit | 72b365ece9322b323203ef423aef4554b1b27bbc (patch) | |
tree | fed909a681d57660669669f52a629623549c2d4f /actionpack | |
parent | 0c92a51dadc48fc64c7c35606c5616d2f40be107 (diff) | |
download | rails-72b365ece9322b323203ef423aef4554b1b27bbc.tar.gz rails-72b365ece9322b323203ef423aef4554b1b27bbc.tar.bz2 rails-72b365ece9322b323203ef423aef4554b1b27bbc.zip |
Move Abstract stuff to autoload
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/abstract.rb | 8 | ||||
-rw-r--r-- | actionpack/test/abstract_controller/test_helper.rb | 11 |
2 files changed, 14 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/abstract.rb b/actionpack/lib/action_controller/abstract.rb new file mode 100644 index 0000000000..85995189a3 --- /dev/null +++ b/actionpack/lib/action_controller/abstract.rb @@ -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
\ No newline at end of file diff --git a/actionpack/test/abstract_controller/test_helper.rb b/actionpack/test/abstract_controller/test_helper.rb index 9f94baea35..5fbd3a9e23 100644 --- a/actionpack/test/abstract_controller/test_helper.rb +++ b/actionpack/test/abstract_controller/test_helper.rb @@ -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'
\ No newline at end of file +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'
\ No newline at end of file |