diff options
Diffstat (limited to 'client/src/app/+admin/users/users.routes.ts')
-rw-r--r-- | client/src/app/+admin/users/users.routes.ts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/client/src/app/+admin/users/users.routes.ts b/client/src/app/+admin/users/users.routes.ts index 723c5715d..a6a9c4c19 100644 --- a/client/src/app/+admin/users/users.routes.ts +++ b/client/src/app/+admin/users/users.routes.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Routes } from '@angular/router' | 1 | import { Routes } from '@angular/router' |
2 | 2 | ||
3 | import { UsersComponent } from './users.component' | 3 | import { UsersComponent } from './users.component' |
4 | import { UserAddComponent } from './user-add' | 4 | import { UserAddComponent, UserUpdateComponent } from './user-edit' |
5 | import { UserListComponent } from './user-list' | 5 | import { UserListComponent } from './user-list' |
6 | 6 | ||
7 | export const UsersRoutes: Routes = [ | 7 | export const UsersRoutes: Routes = [ |
@@ -31,6 +31,15 @@ export const UsersRoutes: Routes = [ | |||
31 | title: 'Add a user' | 31 | title: 'Add a user' |
32 | } | 32 | } |
33 | } | 33 | } |
34 | }, | ||
35 | { | ||
36 | path: ':id/update', | ||
37 | component: UserUpdateComponent, | ||
38 | data: { | ||
39 | meta: { | ||
40 | title: 'Update a user' | ||
41 | } | ||
42 | } | ||
34 | } | 43 | } |
35 | ] | 44 | ] |
36 | } | 45 | } |