@RouteConfig(const [
const Route(
name: 'Planning',
path: 'planning',
component: PlanningComponent),
const Route(
name: 'Company',
// This 'details/' is required, otherwise there are conflicts between the
// routes as 'all' and 'planning' are interpreted as companyId's.
path: 'details/:companyId/...',
component: CompanyComponent)
])
Ideally I'd like to remove details/ from the URL. Right now though planning is interpreted as a :companyId and fails, requiring me to add a prefix.