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
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.
Using edit_user_password_url (replace user with your own resource name).
The helper method gets called twice. First with the options Hash, adding the :subdomain. Then with a String now containing the right url with subdomain.