1
0
Fork 0
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:
Sven Pachnit 2014-12-01 19:26:50 +01:00
parent bec9e83359
commit e1408971b8

View file

@ -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)