From 6eb4271d91557e39c07c45d608a31b3370d88439 Mon Sep 17 00:00:00 2001 From: Malcolm Locke Date: Fri, 9 Nov 2012 10:21:03 +1300 Subject: Action mailer can take an array for template_dir --- guides/source/action_mailer_basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/action_mailer_basics.md') diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md index a938db6265..fb26a3a6a3 100644 --- a/guides/source/action_mailer_basics.md +++ b/guides/source/action_mailer_basics.md @@ -293,7 +293,7 @@ class UserMailer < ActionMailer::Base end ``` -In this case it will look for templates at `app/views/notifications` with name `another`. +In this case it will look for templates at `app/views/notifications` with name `another`. You can also specify an array of paths for `template_path`, and they will be searched in order. If you want more flexibility you can also pass a block and render specific templates or even render inline or text without using a template file: -- cgit v1.2.3