Ajout des sources
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Routes } from '@angular/router';
|
||||
|
||||
import { AuthComponent, CalculatorComponent, HomeComponent, LogbookComponent, ProfileComponent } from 'src/app/components';
|
||||
import { AuthResolver, NoAuthGuard } from 'src/app/core/services';
|
||||
|
||||
export const FRONT_ROUTES: Routes = [
|
||||
{ path: 'calculator', component: CalculatorComponent },
|
||||
{ path: 'dashboard', component: HomeComponent},
|
||||
{ path: 'logbook', component: LogbookComponent },
|
||||
{ path: 'profile', component: ProfileComponent },
|
||||
{ path: 'login', component: AuthComponent, canActivate: [ NoAuthGuard ] },
|
||||
{ path: 'register', component: AuthComponent, canActivate: [ NoAuthGuard ] },
|
||||
{ path: 'authenticate', component: AuthComponent, canActivate: [ NoAuthGuard ] }
|
||||
];
|
||||
Reference in New Issue
Block a user