diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-25 06:48:15 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-25 06:48:15 +0000 |
commit | c064802de975aa46a18f2d2c3d81c02c5f256f41 (patch) | |
tree | 4310a4f38dc2b0fea77ebf7dd6fa4cc3c7b3d254 /actionmailer/lib/action_mailer | |
parent | 4dc464c1dfdba2241b54ccd60884e812db664d7c (diff) | |
download | rails-c064802de975aa46a18f2d2c3d81c02c5f256f41.tar.gz rails-c064802de975aa46a18f2d2c3d81c02c5f256f41.tar.bz2 rails-c064802de975aa46a18f2d2c3d81c02c5f256f41.zip |
Automatically included ActionController::UrlWriter, such that URL generation can happen within ActionMailer controllers. [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 873eb3c9c9..6143121519 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -184,6 +184,7 @@ module ActionMailer #:nodoc: # <tt>@implicit_parts_order</tt>. class Base include AdvAttrAccessor, PartContainer + include ActionController::UrlWriter # Action Mailer subclasses should be reloaded by the dispatcher in Rails # when Dependencies.mechanism = :load. |