Multitenancy.Plug.Dispatch (multitenancy_phoenix v0.1.0)

Copy Markdown View Source

Hands the request over to the current theme's router, or to the :platform router when no site was resolved. Replaces the plug MyAppWeb.Router line at the end of the endpoint.

plug Multitenancy.Plug.Dispatch, platform: MyAppWeb.Router