Navigation Link breaks when the primary navigation is a module (upgrading twill3)
Primary menu is visible with 'home page' and 'Projects' for the below array defined in twill-navigation (Yes legacy code)
'home' => [
'title' => 'Home page',
'route' => 'home',
],
'projects' => [
'title' => 'Projects',
'module' => true,
]
Once I started add primary navigation array application breaks with Route not found exception
Here Projects and users are parent child nested modules.
protected $moduleName = 'projects.users'; => line from users controller.
'projects' => [
'title' => 'Projects',
'module' => true,
'primary_navigation' => [
'users' => [
'title' => 'Users',
'module' => true,
]
]
What am doing wrong here?
2 Replies