Route: Video edit -> video update

This commit is contained in:
Chocobozzz 2018-05-09 15:35:55 +02:00
parent 4c200caae6
commit c663955b25
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 3 additions and 3 deletions

View 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>

View 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>

View 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: {