Displaying 3 results from an estimated 3 matches for "supportmail".
Did you mean:
support_mail
2008 Dec 17
3
Access from common class
Hello!
I have made a common class and put it to the /lib folder of my Rails
application.
Now I have some problems with access to:
1. Mailers
Call to SupportMailer.send_activation_email gives an error:
NoMethodError (undefined method `send_activation_email'' for
SupportMailer:Class):
Ok, I have changed my SupportMailer class - give a prefix to the
function
function send_activation_email -> function self.send_activation_email
But in this case the...
2005 Nov 17
7
render :partial in mail template
Hi,
Is it possible to render a partial template from within a mail template?
I get the following error
undefined method `controller_path'' for SupportMailer:Class
Extracted source (around line #8):
5:
6: <%= @url %>
7:
8: <%= render_partial ''sig_admin'' %>
Jeroen
2006 Mar 22
9
render partial from withit mail template
Hi,
I''m trying to include a partial in an email template but it throws me this:
undefined method `controller_path'' for SupportMailer:Class
Extracted source (around line #12):
11:
12: <%= render :partial => ''footer'' %>
I guess email views are a little different from normal ones as they
don''t seem to have a access to a proper controller (?)
is there a quick way around this?
Jeroen