]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Route: Video edit -> video update
authorChocobozzz <me@florianbigard.com>
Wed, 9 May 2018 13:35:55 +0000 (15:35 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 11 May 2018 06:48:20 +0000 (08:48 +0200)
client/src/app/+my-account/my-account-videos/my-account-videos.component.html
client/src/app/videos/+video-watch/video-watch.component.html
client/src/app/videos/videos-routing.module.ts

index 66ce3a77bb46299688baa1bfe910869105bcfb02..a31cb0c3d8e65cedf50f2a19fa305addc72ca383 100644 (file)
@@ -38,7 +38,7 @@
       <div class="video-buttons" *ngIf="isInSelectionMode() === false">
         <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
 
-        <my-edit-button [routerLink]="[ '/videos', 'edit', video.uuid ]"></my-edit-button>
+        <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
       </div>
     </div>
   </div>
index 990b9400d6e36731b1a88cad077adfecd52fc07c..212bfdd8cc2afd1ae158dbd08e1fb25027d785dc 100644 (file)
@@ -83,7 +83,7 @@
                 </li>
 
                 <li *ngIf="isVideoUpdatable()" role="menuitem">
-                  <a class="dropdown-item" title="Update this video" href="#" [routerLink]="[ '/videos/edit', video.uuid ]">
+                  <a class="dropdown-item" title="Update this video" href="#" [routerLink]="[ '/videos/update', video.uuid ]">
                     <span class="icon icon-edit"></span> Update
                   </a>
                 </li>
index 561137b7013ed3391a2c47a0294953d9019ab713..572f33d5e04577817bb01b15ec5d215836811d66 100644 (file)
@@ -64,7 +64,7 @@ const videosRoutes: Routes = [
         }
       },
       {
-        path: 'edit/:uuid',
+        path: 'update/:uuid',
         loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule',
         data: {
           meta: {