Guest User

Untitled

a guest
Mar 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import { Routes } from '@angular/router';
  2. import { RecordsComponent } from './records/records.component';
  3. import { HomeComponent } from './home/home.component';
  4.  
  5. export const APP_ROUTES: Routes = [
  6. { path: 'home', component: HomeComponent },
  7. { path: '', redirectTo: 'home', pathMatch: 'full' },
  8. { path: 'records/:with-error', component: RecordsComponent},
  9. { path: '**', redirectTo: 'home' }
  10. ];
Add Comment
Please, Sign In to add comment