View Source PhxLocalizedRoutes.Exceptions.MissingRootSlugError exception (Phoenix Localized Routes v0.1.1)

Raised when the scope map does not start with the root scope "/".

%{
  scopes: %{
    "/first"       =>    %{assigns: %{key1: 1}},
    "/other"  =>    %{assigns: %{key1: 1}}},
}

To fix this, include a scope for the root "/".

`%{
  scopes: %{
    "/" => %{
    assigns: %{level: 1}
    scopes:
      "/first"       =>    %{assigns: %{level: 2}},
      "/other"  =>    %{assigns: %{level: 2}}},
   }
}