aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer
diff options
context:
space:
mode:
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r--actionmailer/lib/action_mailer/base.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 1f6c00ce11..272e68a3b5 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -457,6 +457,10 @@ module ActionMailer #:nodoc:
end
# Will force ActionMailer to push new messages to the Rails.queue
+ # when set to true
+ #
+ # class WelcomeMailer < ActionMailer::Base
+ # self.async = true
def async=(truth)
if truth
require 'action_mailer/async'