Url generation in ActionMailer views


#1

Hi,

I am having trouble generating a url in a mailer template. When I use
url_for, or resource_url -type methods, the generated url is always
missing the host part and therefore not clickable in the email
(’/my/url’ instead of ‘http://www.mysite.com/my/url’). How can I fix
that?

Thanks!
Ingo


#2

Hi all,
I found the answer to this in anther thread in this forum. Guess I
should have searched first… Ingo