devise password recovery under multitenancy

36 Views Asked by At

An application runs multiple third level domains, which are accessible by an instance variable @site.

However, that cannot be set for an environment configuration file config.action_mailer.default_url_options

The Devise repository provides no indication as to how this is achieved within the devise framework, possibly delegating this to Rails functions.

How can a materially multi-tenant application determine the url for links in mailers?

0

There are 0 best solutions below