I tried with match but had no luck.
Plug.Router is another option for implementing the top level MyAppWeb.Router
. It’s a bit simpler, with a match
function that can act like forward
without stripping the path.
There’s some discussion in Umbrella App routing with Plug.Router app & Phoenix app - #9 by mbuhot