-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing host in link_to methods #2
Comments
Can you post the contents of your method in your mailer class? Also the version of Rails would be helpful. |
Rails 3.2.11 I'm using mail_alternatives_with_attachments in OrderMailer (there it works, but link_to isn't appending host). My mail method:
I've got UserMailer also - this mailer stopped working after I added mail_alternatives_with_attachments to Gemfile. It was raising |
That code isn't using the gem. Could you post the code using the gem? |
Ooops. Sorry about that. I've updated my previous comment with code using the gem. |
Hello. I'm using your gem to send PDF attachments - everything works like a charm, but when I changed classic
mail
toprepare_message
- link_to methods stopped appending host to all links in mailer view.The text was updated successfully, but these errors were encountered: