Skip to content
This repository
Browse code

Action mailer can take an array for template_dir

  • Loading branch information...
commit 6eb4271d91557e39c07c45d608a31b3370d88439 1 parent 3c58018
Malcolm Locke malclocke authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  guides/source/action_mailer_basics.md
2  guides/source/action_mailer_basics.md
Source Rendered
@@ -293,7 +293,7 @@ class UserMailer < ActionMailer::Base
293 293 end
294 294 ```
295 295
296   -In this case it will look for templates at `app/views/notifications` with name `another`.
  296 +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.
297 297
298 298 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:
299 299

0 comments on commit 6eb4271

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