You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2021. It is now read-only.
josevalim edited this page Jan 24, 2012
·
4 revisions
Devise sends registration confirmations, forgotten password messages, and other email messages. These will originate from the main domain by default, but you can modify the application so these emails originate from subdomains.
One of the approaches to making that work is to give the url_for helper a :subdomain option.
Now when you do a link_to in your Devise mailer template, you can specify a :subdomain option.
link_to'Click here to finish setting up your account on RightBonus',confirmation_url(@resource,:confirmation_token=>@resource.confirmation_token,:subdomain=>@resource.subdomain)