AcctionMailer templates

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs