diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-10 10:18:25 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-10 10:24:02 +0200 |
commit | f47bf2e142b0b22460558e23720f5aed8deb982c (patch) | |
tree | 63a084494585a67e4326bf18c611e108de59aaee /client/src/app/videos/videos-routing.module.ts | |
parent | 35bf0c83c80f59ca79f4b84fac8700f17adeb22d (diff) | |
download | PeerTube-f47bf2e142b0b22460558e23720f5aed8deb982c.tar.gz PeerTube-f47bf2e142b0b22460558e23720f5aed8deb982c.tar.zst PeerTube-f47bf2e142b0b22460558e23720f5aed8deb982c.zip |
Client: check user is logged in for some pages
Diffstat (limited to 'client/src/app/videos/videos-routing.module.ts')
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 225b6b018..d3869748b 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -22,11 +22,11 @@ const videosRoutes: Routes = [ | |||
22 | } | 22 | } |
23 | }, | 23 | }, |
24 | { | 24 | { |
25 | path: 'add', | 25 | path: 'upload', |
26 | loadChildren: 'app/videos/+video-edit#VideoAddModule', | 26 | loadChildren: 'app/videos/+video-edit#VideoAddModule', |
27 | data: { | 27 | data: { |
28 | meta: { | 28 | meta: { |
29 | title: 'Add a video' | 29 | title: 'Upload a video' |
30 | } | 30 | } |
31 | } | 31 | } |
32 | }, | 32 | }, |