User routes: :id/update -> update/:id

This commit is contained in:
Chocobozzz 2018-05-09 15:37:52 +02:00
parent c663955b25
commit 9b9b1805c2
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export class UserListComponent extends RestTable implements OnInit {
}
getRouterUserEditLink (user: User) {
return [ '/admin', 'users', user.id, 'update' ]
return [ '/admin', 'users', 'update', user.id ]
}
protected loadData () {

View File

@ -39,7 +39,7 @@ export const UsersRoutes: Routes = [
}
},
{
path: ':id/update',
path: 'update/:id',
component: UserUpdateComponent,
data: {
meta: {