diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-19 09:53:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-19 09:54:38 +0200 |
commit | ad76628b17ff8f25d3402d6d669b274116bbf76c (patch) | |
tree | 6f6a4f499bbf7a1b8114954ec8d8a6275a20aaee /client/src/app/+admin | |
parent | 627621c1e8d37c33f7b3dd59f4c8907b12c630bc (diff) | |
download | PeerTube-ad76628b17ff8f25d3402d6d669b274116bbf76c.tar.gz PeerTube-ad76628b17ff8f25d3402d6d669b274116bbf76c.tar.zst PeerTube-ad76628b17ff8f25d3402d6d669b274116bbf76c.zip |
Fix admin access to moderators
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/moderation/moderation.routes.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/app/+admin/moderation/moderation.routes.ts b/client/src/app/+admin/moderation/moderation.routes.ts index b133152d9..6d81b9b36 100644 --- a/client/src/app/+admin/moderation/moderation.routes.ts +++ b/client/src/app/+admin/moderation/moderation.routes.ts | |||
@@ -16,6 +16,16 @@ export const ModerationRoutes: Routes = [ | |||
16 | pathMatch: 'full' | 16 | pathMatch: 'full' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | path: 'video-abuses', | ||
20 | redirectTo: 'video-abuses/list', | ||
21 | pathMatch: 'full' | ||
22 | }, | ||
23 | { | ||
24 | path: 'video-blacklist', | ||
25 | redirectTo: 'video-blacklist/list', | ||
26 | pathMatch: 'full' | ||
27 | }, | ||
28 | { | ||
19 | path: 'video-abuses/list', | 29 | path: 'video-abuses/list', |
20 | component: VideoAbuseListComponent, | 30 | component: VideoAbuseListComponent, |
21 | canActivate: [ UserRightGuard ], | 31 | canActivate: [ UserRightGuard ], |