Wrong module on scoped liveview - router fails, asking for AppWeb.AppWeb.AdminLive

on live view 0.18 latest,
in the router,

when the route is scoped “/”, all is normal

scope "/", AppWeb do
    pipe_through [:not_connected_browser, :redirect_if_user_is_authenticated]
 
     live "/gothere", AdminLive.Gothere, :show
   end

but when it is scoped “/subdomain” the router fails, asking for

AppWeb.AppWeb.AdminLive.Gothere module hence doubling the AppWeb

instead of

AppWeb.AdminLive.Gothere module


  scope "/admin", AppWeb do
    pipe_through [:not_connected_browser, :redirect_if_user_is_authenticated]

    live "/gothere", AdminLive.Gothere, :show
  end

with a normal route not live, all is ok

If your scope “/admin” is inside the “/“, remove the AppWeb from the admin block definition.

The module in front of the scope adds a new namespace.

it works.

but how come with a regular route I did not have to remove the AppWeb ?

so

scope "/", AppWeb do

...
end
scope "/admin"  do # no more AppWeb

live /routes, GothereLive  (in AppWeb.GothereLive module)
...
end
scope "/admin", AppWeb  do # AppWeb needed

get /routes (in AppWeb.GothereController module)
...
end