From e1408971b8dfdd26d8dac4651bfa52683565f45a Mon Sep 17 00:00:00 2001 From: Sven Pachnit Date: Mon, 1 Dec 2014 19:26:50 +0100 Subject: Fix documentation for #default Just a little syntax error I spotted by accident. Cannot pass hash with curly braces without normal parentheses. --- actionmailer/lib/action_mailer/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3