aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-29 21:57:19 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-29 21:57:19 +0100
commitda19d94b63159f3ee4a8adb2e29ffdd71724812e (patch)
tree9bde40dedaf2e1676fabade3b15634efde109740 /client/src
parentea070c93cc9e00f8080aa743ada019f9fd6807dc (diff)
downloadPeerTube-da19d94b63159f3ee4a8adb2e29ffdd71724812e.tar.gz
PeerTube-da19d94b63159f3ee4a8adb2e29ffdd71724812e.tar.zst
PeerTube-da19d94b63159f3ee4a8adb2e29ffdd71724812e.zip
Client: redirect /videos/:id to /videos/watch/:id
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/videos/videos-routing.module.ts4
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 }