diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-11 16:01:56 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-11 16:01:56 +0200 |
commit | 0a6658fdcbd779ada8f3758048c326e997902d5a (patch) | |
tree | 5de40bf901db0299011104b1344783637b964eb0 /client/src/app/videos/videos-routing.module.ts | |
parent | e6d4b0ff2404dcf0b3a755c3fcc415ffeb6e754d (diff) | |
download | PeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.tar.gz PeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.tar.zst PeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.zip |
Use global uuid instead of remoteId for videos
Diffstat (limited to 'client/src/app/videos/videos-routing.module.ts')
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index e18c1cec0..715671ba7 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -33,7 +33,7 @@ const videosRoutes: Routes = [ | |||
33 | } | 33 | } |
34 | }, | 34 | }, |
35 | { | 35 | { |
36 | path: 'edit/:id', | 36 | path: 'edit/:uuid', |
37 | component: VideoUpdateComponent, | 37 | component: VideoUpdateComponent, |
38 | data: { | 38 | data: { |
39 | meta: { | 39 | meta: { |
@@ -42,11 +42,11 @@ const videosRoutes: Routes = [ | |||
42 | } | 42 | } |
43 | }, | 43 | }, |
44 | { | 44 | { |
45 | path: ':id', | 45 | path: ':uuid', |
46 | redirectTo: 'watch/:id' | 46 | redirectTo: 'watch/:uuid' |
47 | }, | 47 | }, |
48 | { | 48 | { |
49 | path: 'watch/:id', | 49 | path: 'watch/:uuid', |
50 | component: VideoWatchComponent | 50 | component: VideoWatchComponent |
51 | } | 51 | } |
52 | ] | 52 | ] |