aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorSven Pachnit <sven@bmonkeys.net>2014-12-01 19:26:50 +0100
committerSven Pachnit <sven@bmonkeys.net>2014-12-01 19:26:50 +0100
commite1408971b8dfdd26d8dac4651bfa52683565f45a (patch)
tree60402eaf28791e88e2fc829a7cbd6ceb9affa2ec /actionmailer
parentbec9e8335915c8f752b57971185d6731384534d1 (diff)
downloadrails-e1408971b8dfdd26d8dac4651bfa52683565f45a.tar.gz
rails-e1408971b8dfdd26d8dac4651bfa52683565f45a.tar.bz2
rails-e1408971b8dfdd26d8dac4651bfa52683565f45a.zip
Fix documentation for #default
Just a little syntax error I spotted by accident. Cannot pass hash with curly braces without normal parentheses.
Diffstat (limited to 'actionmailer')
-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)