Thanks Nina, that was exactly the issue! All is working nicely now.

Cheers,

Adriaan

On Nov 9, 5:12 am, Nin <[email protected]> wrote:
> I suggest looking at your config/environments/production.rb file.
>
> There should be a line there, configuring the action_mailer. Should be
> something like:
>
> config.action_mailer.default_url_options = { :host =>
> '<yourHerokuAppName>.heroku.com' }
> if you're using the free version or just { :host => '<heroku app
> url>' } otherwise
>
> Do Not add the "http://"; before.
>
> Hopes it helps :)
>
> Best,
>
> --
> Nina.
>
> On Nov 8, 12:34 pm, adriaan <[email protected]> wrote:
>
> > I'm using Devise for authentication in my app.
> > It's all working fine except the URL's in emails sent by Devise when
> > deployed on Heroku are wrong
>
> > They turn out like this:
>
> >http://http://[heroku app url]//users/password/edit?
> > reset_password_token...
>
> > So with a double http:// and an extra slash after the heroku app url
>
> > When running the app locally, there is no issue with the URL's => only
> > when deployed on Heroku.
>
> > Any ideas?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to