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:
parent
d2bd71a145
commit
9653599a79
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue