# Action Mailer - Model - Overriding Default View

**URL:** <https://www.ruby-forum.com/t/action-mailer-model-overriding-default-view/117958>\
**Category:** Rails\
**Created:** [October 22, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/action-mailer-model-overriding-default-view/117958 "2007-10-22T20:05:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![doug](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/dbc845/32.png) [@doug](https://www.ruby-forum.com/u/doug)\
**Post date:** [October 22, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/action-mailer-model-overriding-default-view/117958/1 "2007-10-22T20:05:31Z")

</div>

In Action Mailer the model has a view associated with it that gets  
stuffed with the content of the e-mail (both dynamic and static).  
Apparently the default location for this view is in a sub-directory of  
the views directory with the same name as the mailer class. How can I  
change this location?

Nievely, I tried using render and that didn’t work. I wasn’t too  
surprised.

Thanks for any input.

```
   ... doug
```
