hi, i am loading up 2 different production environments under 2
different domain names (1 & 2). but when i send out devise emails, the
default_url_options aka the href links within the emails always point
to the same domain (1)
i am setting this differntly in both env files:
prod1
config.action_mailer.default_url_options { host: 'https://www.domain 1.com' }
prod2
config.action_mailer.default_url_options { host: 'https://www.domain 2.com' }
but agian, paswowrd reset link always point to domain 1. what am i missing?
why?
thx
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdTgqJCrpWj8oRMXnczU2HTC0qYJ0dK6hRLhpicSXCrMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment