404 wildcard for subpaths
This commit is contained in:
@@ -4,7 +4,8 @@ import { IconsComponent } from './icons/icons.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild([
|
||||
{ path: 'icons', data: { breadcrumb: 'Prime Icons' }, component: IconsComponent }
|
||||
{ path: 'icons', data: { breadcrumb: 'Prime Icons' }, component: IconsComponent },
|
||||
{ path: '**', redirectTo: '/notfound' }
|
||||
])],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user