diff options
author | Malcolm Locke <malc@wholemeal.co.nz> | 2012-11-09 10:21:03 +1300 |
---|---|---|
committer | Malcolm Locke <malc@wholemeal.co.nz> | 2012-11-09 10:21:03 +1300 |
commit | 6eb4271d91557e39c07c45d608a31b3370d88439 (patch) | |
tree | 607a555c077848a56b2abfb0770a919c00af7c9d | |
parent | 3c580182ff3c16d2247aabc85100bf8c6edb0f82 (diff) | |
download | rails-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.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 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: |