Tenant.EnsurePlug (Tenant v2.0.0)
View SourceThis is a basic plug that ensure the tenant is loaded.
To plug it on your router, you can use:
plug Tenant.EnsurePlug,
callback: &TenantHelper.callback/2
failure_callback: &TenantHelper.failure_callback/2
See Tenant.EnsurePlugConfig
to check all the allowed config
flags.