mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix documentation for #default
Just a little syntax error I spotted by accident. Cannot pass hash with curly braces without normal parentheses.
This commit is contained in:
parent
bec9e83359
commit
e1408971b8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue