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


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