diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-03 15:28:59 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-03 15:28:59 +0900 |
commit | d71f289fb29d7818620725346ed42ea6952708fa (patch) | |
tree | dd6a495483a386d9cf1da0d20581bd4b5c3b81f0 /guides | |
parent | 4e73ffa9b45904492815f8f67d4695ef719e0350 (diff) | |
download | rails-d71f289fb29d7818620725346ed42ea6952708fa.tar.gz rails-d71f289fb29d7818620725346ed42ea6952708fa.tar.bz2 rails-d71f289fb29d7818620725346ed42ea6952708fa.zip |
stop using removed `render :text`
Follow up to 79a5ea9eadb4d43b62afacedc0706cbe88c54496
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/action_mailer_basics.md | 2 |
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 |