Glific v0.3.1 GlificWeb.SubdomainPlug View Source
This is a basic plug that loads the current organization assign from a given value set on subdomain.
To plug it on your router, you can use:
plug GlificWeb.SubdomainPlug,
endpoint: MyApp.Endpoint,
organization_handler: &OrganizationHelper.organization_handler/1
See GlificWeb.SubdomainPlugConfig
to check all the allowed config
flags.