Forum: Ruby on Rails url generation in ActionMailer views

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ingo W. (Guest)
on 2007-02-03 05:26

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 ''). How can I fix

Ingo W. (Guest)
on 2007-02-03 20:37
Hi all,
I found the answer to this in anther thread in this forum. Guess I
should have searched first... Ingo
This topic is locked and can not be replied to.