large update wip
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { RegistrationComponent } from './registration/registration.component';
|
||||
import { LandingComponent } from './landing/landing.component';
|
||||
import { ApplicationListComponent } from './application-list/application-list.component';
|
||||
import { ApplicationComponent } from './application/application.component';
|
||||
import { RegistrationComponent } from './components/registration/registration.component';
|
||||
import { LandingComponent } from './components/landing/landing.component';
|
||||
import { ApplicationListComponent } from './components/application-list/application-list.component';
|
||||
import { ApplicationComponent } from './components/application/application.component';
|
||||
import { PageNotFoundComponent } from './page-not-found/page-not-found.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
{ path: 'landing', component: LandingComponent },
|
||||
{ path: 'registration', component: RegistrationComponent },
|
||||
{ path: 'application/new', component: RegistrationComponent },
|
||||
{ path: 'application/:id/edit', component: RegistrationComponent },
|
||||
{ path: 'application-list', component: ApplicationListComponent },
|
||||
{ path: 'application/:id', component: ApplicationComponent },
|
||||
{ path: '', redirectTo: '/landing', pathMatch: 'full' },
|
||||
{ path: '**', redirectTo: '/landing' },
|
||||
// component: PageNotFoundComponent
|
||||
{ path: '**', component: PageNotFoundComponent },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user