1
0
Files
yel-dspace-angular/src/app/app-routing.module.ts
2017-01-12 15:18:15 +01:00

14 lines
406 B
TypeScript

import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { PageNotFoundComponent } from './pagenotfound/pagenotfound.component';
@NgModule({
imports: [
RouterModule.forChild([
{ path: '', redirectTo: '/home', pathMatch: 'full' },
{ path: '**', pathMatch: 'full', component: PageNotFoundComponent},
])
],
})
export class AppRoutingModule { }