search for: jobrequestmail

Displaying 1 result from an estimated 1 matches for "jobrequestmail".

Did you mean: jobrequestmailer
2006 Nov 28
1
link_to and url_for in ActionMailer
...owever, I want to include in the e-mail a link to the application so that users can click on the link in the e-mail and immediately be taken to the show view for the new item. When I add a link_to element to the e-mail template, I get the error message: undefined method `url_for'' for #<JobRequestMailer:0x77fe458> I have tried adding a link to the application helper to the mailer model: helper :application but that doesn''t seem to have helped. Can some one either tell me how to access an ActionView method from within an ActionMailer object, or provide another work around. I know...