Skip to content

Commit

Permalink
Remove the ActionView::Base autoload because it creates crazy circula…
Browse files Browse the repository at this point in the history
…r autoload insanity
  • Loading branch information
Carlhuda committed Dec 24, 2009
1 parent d2bd71a commit 9653599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

0 comments on commit 9653599

Please sign in to comment.