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

Remove the ActionView::Base autoload because it creates crazy circular autoload insanity

This commit is contained in:
Carlhuda 2009-12-23 18:59:49 -08:00
parent d2bd71a145
commit 9653599a79

View file

@ -32,7 +32,6 @@ module ActionView
extend ActiveSupport::Autoload extend ActiveSupport::Autoload
eager_autoload do eager_autoload do
autoload :Base
autoload :Context autoload :Context
autoload :Template autoload :Template
autoload :Helpers autoload :Helpers
@ -56,5 +55,6 @@ module ActionView
end end
require 'action_view/erb/util' require 'action_view/erb/util'
require 'action_view/base'
I18n.load_path << "#{File.dirname(__FILE__)}/action_view/locale/en.yml" I18n.load_path << "#{File.dirname(__FILE__)}/action_view/locale/en.yml"