diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-22 17:33:00 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-22 17:33:00 -0600 |
commit | 2e4e8d156ca1a2f3fe2f587956097621433514f8 (patch) | |
tree | dc18cb81ce2a663c587b34646cc2f6ae20efe6d9 /actionmailer/lib/action_mailer.rb | |
parent | ace20bd25e3818b7f29c222643dd445c48b36425 (diff) | |
download | rails-2e4e8d156ca1a2f3fe2f587956097621433514f8.tar.gz rails-2e4e8d156ca1a2f3fe2f587956097621433514f8.tar.bz2 rails-2e4e8d156ca1a2f3fe2f587956097621433514f8.zip |
All AM modules are safe to defer
Diffstat (limited to 'actionmailer/lib/action_mailer.rb')
-rw-r--r-- | actionmailer/lib/action_mailer.rb | 40 |
1 files changed, 10 insertions, 30 deletions
diff --git a/actionmailer/lib/action_mailer.rb b/actionmailer/lib/action_mailer.rb index 6539451bea..d7bbbbd78c 100644 --- a/actionmailer/lib/action_mailer.rb +++ b/actionmailer/lib/action_mailer.rb @@ -30,34 +30,14 @@ require 'action_view' module ActionMailer extend ::ActiveSupport::Autoload - eager_autoload do - autoload :AdvAttrAccessor - autoload :DeprecatedBody - autoload :Base - autoload :DeliveryMethod - autoload :MailHelper - autoload :Part - autoload :PartContainer - autoload :Quoting - autoload :TestHelper - autoload :Utils - end + autoload :AdvAttrAccessor + autoload :DeprecatedBody + autoload :Base + autoload :DeliveryMethod + autoload :MailHelper + autoload :Part + autoload :PartContainer + autoload :Quoting + autoload :TestHelper + autoload :Utils end - -module Text - extend ActiveSupport::Autoload - - eager_autoload do - autoload :Format, 'action_mailer/vendor/text_format' - end -end - -module Net - extend ActiveSupport::Autoload - - eager_autoload do - autoload :SMTP - end -end - -require 'action_mailer/vendor/tmail' |