提交 1c248dfb 编写于 作者: G Guillermo Iguaran

Fix render plain docs example in AM::Base

The errors were introduced in e220a34e
上级 11645adf
......@@ -724,11 +724,11 @@ def attachments
# format.html
# end
#
# You can even render plain directly without using a template:
# You can even render plain text directly without using a template:
#
# mail(to: 'mikel@test.lindsaar.net') do |format|
# format.text { render plain: "Hello Mikel!" }
# format.html { render plain: "<h1>Hello Mikel!</h1>" }
# format.html { render html: "<h1>Hello Mikel!</h1>".html_safe }
# end
#
# Which will render a +multipart/alternative+ email with +text/plain+ and
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册