Please help I have a splat route which looks like this.
admin*details
I created a child router from admin link like this.
var childRouter = router.createChildRouter().makeRelative({ moduleId: 'admin', route:'admin'})
.map([
{
title: 'Case Files',
route: 'default/index',
moduleId: 'default/index',
nav: true
}
])
.buildNavigationModel();
var vm = {
router: childRouter,
activate: activate
};
my folder structure is as like this.
viewmodels\admin\admin
viewmodels\admin\default\index
Why is it not navigating to the index page?
Instead I'm getting a Failed to load routed module error