Client: redirect /videos/:id to /videos/watch/:id

This commit is contained in:
Chocobozzz 2016-11-29 21:57:19 +01:00
parent ea070c93cc
commit da19d94b63
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ const videosRoutes: Routes = [
}
}
},
{
path: ':id',
redirectTo: 'watch/:id'
},
{
path: 'watch/:id',
component: VideoWatchComponent