aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalcolm Locke <malc@wholemeal.co.nz>2012-11-09 10:21:03 +1300
committerMalcolm Locke <malc@wholemeal.co.nz>2012-11-09 10:21:03 +1300
commit6eb4271d91557e39c07c45d608a31b3370d88439 (patch)
tree607a555c077848a56b2abfb0770a919c00af7c9d
parent3c580182ff3c16d2247aabc85100bf8c6edb0f82 (diff)
downloadrails-6eb4271d91557e39c07c45d608a31b3370d88439.tar.gz
rails-6eb4271d91557e39c07c45d608a31b3370d88439.tar.bz2
rails-6eb4271d91557e39c07c45d608a31b3370d88439.zip
Action mailer can take an array for template_dir
-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 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: