Displaying 1 result from an estimated 1 matches for "welcomemailer".
2007 Jan 02
2
link_to method throws a url_for error
...and am using
a template in app/views/welcome_mailer/join.rhtml which has this line:
<%= link_to :controller => ''group'', :action => ''join'', :group =>
@group.id, :ic => @code.code %>
The error is: undefined method `url_for'' for #<WelcomeMailer:
0x2aaaad4fb470>
I know the variables are OK because I''ve tested them. If I change the
link_to to a url_for, I get the exact same error.
Anyone know what''s the problem? All help is appreciated & thanks in
advance!
-Jason
--~--~---------~--~----~------------~-------...