diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 766d29d22..4c951200c 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -30,6 +30,10 @@ const videosRoutes: Routes = [ | |||
30 | } | 30 | } |
31 | }, | 31 | }, |
32 | { | 32 | { |
33 | path: ':id', | ||
34 | redirectTo: 'watch/:id' | ||
35 | }, | ||
36 | { | ||
33 | path: 'watch/:id', | 37 | path: 'watch/:id', |
34 | component: VideoWatchComponent | 38 | component: VideoWatchComponent |
35 | } | 39 | } |