Skip to content
Browse files

Action mailer can take an array for template_dir

  • Loading branch information...
1 parent 3c58018 commit 6eb4271d91557e39c07c45d608a31b3370d88439 @malclocke malclocke committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/action_mailer_basics.md
View
2 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:

0 comments on commit 6eb4271

Please sign in to comment.
Something went wrong with that request. Please try again.