diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-09 15:37:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-11 08:48:20 +0200 |
commit | 9b9b1805c287b00c7ab7bdc2f7ebddf0b9f03573 (patch) | |
tree | 334c9f80c7253588ade45d6c48d7e46bb3a16396 /client/src/app | |
parent | c663955b259d356806c7b79b535fd5cfaeaf2b5e (diff) | |
download | PeerTube-9b9b1805c287b00c7ab7bdc2f7ebddf0b9f03573.tar.gz PeerTube-9b9b1805c287b00c7ab7bdc2f7ebddf0b9f03573.tar.zst PeerTube-9b9b1805c287b00c7ab7bdc2f7ebddf0b9f03573.zip |
User routes: :id/update -> update/:id
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/+admin/users/user-list/user-list.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/users/users.routes.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index a52df49c0..2cc4d4349 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts | |||
@@ -51,7 +51,7 @@ export class UserListComponent extends RestTable implements OnInit { | |||
51 | } | 51 | } |
52 | 52 | ||
53 | getRouterUserEditLink (user: User) { | 53 | getRouterUserEditLink (user: User) { |
54 | return [ '/admin', 'users', user.id, 'update' ] | 54 | return [ '/admin', 'users', 'update', user.id ] |
55 | } | 55 | } |
56 | 56 | ||
57 | protected loadData () { | 57 | protected loadData () { |
diff --git a/client/src/app/+admin/users/users.routes.ts b/client/src/app/+admin/users/users.routes.ts index 7585eb852..8b3791bd3 100644 --- a/client/src/app/+admin/users/users.routes.ts +++ b/client/src/app/+admin/users/users.routes.ts | |||
@@ -39,7 +39,7 @@ export const UsersRoutes: Routes = [ | |||
39 | } | 39 | } |
40 | }, | 40 | }, |
41 | { | 41 | { |
42 | path: ':id/update', | 42 | path: 'update/:id', |
43 | component: UserUpdateComponent, | 43 | component: UserUpdateComponent, |
44 | data: { | 44 | data: { |
45 | meta: { | 45 | meta: { |