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

22 lines
493 B
TypeScript
Raw Normal View History

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';
import { AuthGuard } from '@app/core/auth-guard.service';
2019-01-18 18:03:45 +01:00
const routes: Routes = [
{
path: '',
component: UserProfileComponent,
canActivate: [AuthGuard],
2019-01-18 18:03:45 +01:00
data: {
breadcrumb: true
},
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class UserProfileRoutingModule { }