This project is archived and is in readonly mode.

#2031 ✓resolved
Sven Fuchs

Allow ActionMailer to use view_paths from plugins

Reported by Sven Fuchs | February 20th, 2009 @ 10:41 PM

ActionMailer currently can not find templates provided by plugins/engines because they're neither loaded into the ActionMailer view_paths nor could ActionMailer use them.

The attached patch fixes this.

I've tried to mess as less with ActionMailer as possible but reading the code I totally wonder why there's still such a thing as template_root? Am I missing something important? Otherwise I'd happily look into some refactoring here at some point.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Referenced by

Pages