Forum: Ruby on Rails AcctionMailer templates

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Matias S. (Guest)
on 2006-04-17 10:13
(Received via mailing list)
Is posible to use helpers in ActionMailer templates???

When I do:

<%= link to 'my link', :action=>'someaction'%>

in the mail template, I get the following error on the browser:

undefined method `url_for' for #<AdminMailer:0x8ebdfcc>


Thanks.
This topic is locked and can not be replied to.