Verified Commit 9b9b1805 authored by Chocobozzz's avatar Chocobozzz
Browse files

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

parent c663955b
......@@ -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: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment