diff options
Diffstat (limited to 'client/src/app/app-routing.module.ts')
-rw-r--r-- | client/src/app/app-routing.module.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index a831da099..db48b2eea 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts | |||
@@ -96,6 +96,7 @@ const routes: Routes = [ | |||
96 | { | 96 | { |
97 | path: 'videos/upload', | 97 | path: 'videos/upload', |
98 | loadChildren: () => import('@app/+videos/+video-edit/video-add.module').then(m => m.VideoAddModule), | 98 | loadChildren: () => import('@app/+videos/+video-edit/video-add.module').then(m => m.VideoAddModule), |
99 | canActivateChild: [ MetaGuard ], | ||
99 | data: { | 100 | data: { |
100 | meta: { | 101 | meta: { |
101 | title: $localize`Upload a video` | 102 | title: $localize`Upload a video` |
@@ -105,6 +106,7 @@ const routes: Routes = [ | |||
105 | { | 106 | { |
106 | path: 'videos/update/:uuid', | 107 | path: 'videos/update/:uuid', |
107 | loadChildren: () => import('@app/+videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule), | 108 | loadChildren: () => import('@app/+videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule), |
109 | canActivateChild: [ MetaGuard ], | ||
108 | data: { | 110 | data: { |
109 | meta: { | 111 | meta: { |
110 | title: $localize`Edit a video` | 112 | title: $localize`Edit a video` |