diff options
author | Sven Pachnit <sven@bmonkeys.net> | 2014-12-01 19:26:50 +0100 |
---|---|---|
committer | Sven Pachnit <sven@bmonkeys.net> | 2014-12-01 19:26:50 +0100 |
commit | e1408971b8dfdd26d8dac4651bfa52683565f45a (patch) | |
tree | 60402eaf28791e88e2fc829a7cbd6ceb9affa2ec /actionmailer | |
parent | bec9e8335915c8f752b57971185d6731384534d1 (diff) | |
download | rails-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.rb | 2 |
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) |