Route: Video edit -> video update
This commit is contained in:
parent
4c200caae6
commit
c663955b25
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -64,7 +64,7 @@ const videosRoutes: Routes = [
|
|||
}
|
||||
},
|
||||
{
|
||||
path: 'edit/:uuid',
|
||||
path: 'update/:uuid',
|
||||
loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule',
|
||||
data: {
|
||||
meta: {
|
||||
|
|
Loading…
Reference in New Issue