aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2014-12-01 19:32:26 +0100
committerXavier Noria <fxn@hashref.com>2014-12-01 19:32:26 +0100
commit89d1dcd8cc23a5d6807c6374ae32c6b3b3bd3471 (patch)
tree60402eaf28791e88e2fc829a7cbd6ceb9affa2ec
parentbec9e8335915c8f752b57971185d6731384534d1 (diff)
parente1408971b8dfdd26d8dac4651bfa52683565f45a (diff)
downloadrails-89d1dcd8cc23a5d6807c6374ae32c6b3b3bd3471.tar.gz
rails-89d1dcd8cc23a5d6807c6374ae32c6b3b3bd3471.tar.bz2
rails-89d1dcd8cc23a5d6807c6374ae32c6b3b3bd3471.zip
Merge pull request #17869 from 2called-chaos/patch-1
Fix documentation for ActionMailer::Base#default [ci skip]
-rw-r--r--actionmailer/lib/action_mailer/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 67e316c4fe..021a758940 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -493,7 +493,7 @@ module ActionMailer
# Sets the defaults through app configuration:
#
- # config.action_mailer.default { from: "no-reply@example.org" }
+ # config.action_mailer.default(from: "no-reply@example.org")
#
# Aliased by ::default_options=
def default(value = nil)