User routes: :id/update -> update/:id
This commit is contained in:
parent
c663955b25
commit
9b9b1805c2
|
@ -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 () {
|
||||
|
|
|
@ -39,7 +39,7 @@ export const UsersRoutes: Routes = [
|
|||
}
|
||||
},
|
||||
{
|
||||
path: ':id/update',
|
||||
path: 'update/:id',
|
||||
component: UserUpdateComponent,
|
||||
data: {
|
||||
meta: {
|
||||
|
|
Loading…
Reference in New Issue