Displaying 1 result from an estimated 1 matches for "user_welcom".
Did you mean:
user_welcome
2007 Jan 11
0
Including partials in ActionMailer template files?
...iew for that class I have an rhtml file that holds the html
for the email. I am trying to do
<%= render :partial => "header" %>
and I''m getting:
ActionView::TemplateError (undefined method `controller_path'' for
Notifier:Class) on line #1 of
app/views/notifier/user_welcome.text.html.rhtml:
Any idea how I can include partials in these files?
Thanks for your help.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...