2019-01-18 18:03:45 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
import { UserProfileComponent } from './user-profile.component';
|
2020-01-20 11:00:46 +01:00
|
|
|
import { AuthGuard } from '@app/core/auth-guard.service';
|
2019-01-18 18:03:45 +01:00
|
|
|
|
|
|
|
const routes: Routes = [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
component: UserProfileComponent,
|
2020-01-20 11:00:46 +01:00
|
|
|
canActivate: [AuthGuard],
|
2019-01-18 18:03:45 +01:00
|
|
|
data: {
|
|
|
|
breadcrumb: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
exports: [RouterModule]
|
|
|
|
})
|
2020-01-20 11:00:46 +01:00
|
|
|
export class UserProfileRoutingModule { }
|