From da19d94b63159f3ee4a8adb2e29ffdd71724812e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 29 Nov 2016 21:57:19 +0100 Subject: Client: redirect /videos/:id to /videos/watch/:id --- client/src/app/videos/videos-routing.module.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client') 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 @@ -29,6 +29,10 @@ const videosRoutes: Routes = [ } } }, + { + path: ':id', + redirectTo: 'watch/:id' + }, { path: 'watch/:id', component: VideoWatchComponent -- cgit v1.2.3