Bug #2133
Rendering HTML for email
100%
Description
Right now custom fields are always generated as plain text for ActionMailer templates, i.e., email...
To determine the target format for ActionView, i.e., web views, I use request.template_format
. But no request
is available for Mailer templates! Therefore, rendering falls back to the default format, which is plain text.
I really need an idea, how can I determine the target format (e.g., content type) from within a Mailer’s view. I tried to search for a hint but failed...
Related issues
Associated revisions
History
#1 Updated by Andriy Lesyuk almost 12 years ago
- Due date set to 27 Jan 2013
- Status changed from Incomplete to Closed
- Target version set to 0.2.1
- % Done changed from 0 to 100