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

16 lines
523 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 { UserListingComponent } from './listing/user-listing.component';
import { AdminAuthGuard } from '@app/core/admin-auth-guard.service';
2019-01-18 18:03:45 +01:00
const routes: Routes = [
{ path: '', component: UserListingComponent, canActivate: [AdminAuthGuard] },
2019-01-18 18:03:45 +01:00
// { path: ':id', component: UserProfileComponent }
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class UserRoutingModule { }