aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-12-03 15:28:59 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-12-03 15:28:59 +0900
commitd71f289fb29d7818620725346ed42ea6952708fa (patch)
treedd6a495483a386d9cf1da0d20581bd4b5c3b81f0 /guides/source
parent4e73ffa9b45904492815f8f67d4695ef719e0350 (diff)
downloadrails-d71f289fb29d7818620725346ed42ea6952708fa.tar.gz
rails-d71f289fb29d7818620725346ed42ea6952708fa.tar.bz2
rails-d71f289fb29d7818620725346ed42ea6952708fa.zip
stop using removed `render :text`
Follow up to 79a5ea9eadb4d43b62afacedc0706cbe88c54496
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/action_mailer_basics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md
index 34847832fd..0825d54cb7 100644
--- a/guides/source/action_mailer_basics.md
+++ b/guides/source/action_mailer_basics.md
@@ -400,7 +400,7 @@ class UserMailer < ApplicationMailer
mail(to: @user.email,
subject: 'Welcome to My Awesome Site') do |format|
format.html { render 'another_template' }
- format.text { render text: 'Render text' }
+ format.text { render plain: 'Render text' }
end
end
end