diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-09 15:35:55 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-11 08:48:20 +0200 |
commit | c663955b259d356806c7b79b535fd5cfaeaf2b5e (patch) | |
tree | cc43089b617d7068f8655d0dfba782418bc003e8 /client/src/app/videos | |
parent | 4c200caae63b3f5602dcd93e94b52c39e01857fe (diff) | |
download | PeerTube-c663955b259d356806c7b79b535fd5cfaeaf2b5e.tar.gz PeerTube-c663955b259d356806c7b79b535fd5cfaeaf2b5e.tar.zst PeerTube-c663955b259d356806c7b79b535fd5cfaeaf2b5e.zip |
Route: Video edit -> video update
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.html | 2 | ||||
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index 990b9400d..212bfdd8c 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -83,7 +83,7 @@ | |||
83 | </li> | 83 | </li> |
84 | 84 | ||
85 | <li *ngIf="isVideoUpdatable()" role="menuitem"> | 85 | <li *ngIf="isVideoUpdatable()" role="menuitem"> |
86 | <a class="dropdown-item" title="Update this video" href="#" [routerLink]="[ '/videos/edit', video.uuid ]"> | 86 | <a class="dropdown-item" title="Update this video" href="#" [routerLink]="[ '/videos/update', video.uuid ]"> |
87 | <span class="icon icon-edit"></span> Update | 87 | <span class="icon icon-edit"></span> Update |
88 | </a> | 88 | </a> |
89 | </li> | 89 | </li> |
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 561137b70..572f33d5e 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -64,7 +64,7 @@ const videosRoutes: Routes = [ | |||
64 | } | 64 | } |
65 | }, | 65 | }, |
66 | { | 66 | { |
67 | path: 'edit/:uuid', | 67 | path: 'update/:uuid', |
68 | loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule', | 68 | loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule', |
69 | data: { | 69 | data: { |
70 | meta: { | 70 | meta: { |