argos/dmp-frontend/src/app/ui/user-profile/user-profile.routing.ts

22 lines
493 B
TypeScript

import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { UserProfileComponent } from './user-profile.component';
import { AuthGuard } from '@app/core/auth-guard.service';
const routes: Routes = [
{
path: '',
component: UserProfileComponent,
canActivate: [AuthGuard],
data: {
breadcrumb: true
},
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class UserProfileRoutingModule { }