Skip to content

Commit

Permalink
Updated links to point to correct places
Browse files Browse the repository at this point in the history
  • Loading branch information
jdwillmsen committed Nov 8, 2023
1 parent 23071e9 commit 2db73a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion libs/usersrole-nx-app/admin/src/lib/lib.routes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { Route } from '@angular/router';
import { AdminComponent } from './admin/admin.component';

export const adminRoutes: Route[] = [{ path: '', component: AdminComponent }];
export const adminRoutes: Route[] = [
{ path: '', component: AdminComponent },
{ path: 'users', component: AdminComponent },
{ path: 'roles', component: AdminComponent },
];
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@ export class HomeComponent {
},
{
title: 'Profile',
link: '/profile',
link: '/user/profile',
description:
'This is a profile page for viewing information about the logged in user.',
access: ['User'],
},
{
title: 'Alerts',
link: '/testing/alerts',
link: '/preview/alerts',
description:
'This is a page for viewing the alert service/alerts provided in this application.',
access: ['Everyone'],
},
{
title: 'Snackbars',
link: '/testing/snackbars',
link: '/preview/snackbars',
description:
'This is a page for viewing the snackbar service/snackbars provided in this application.',
access: ['Everyone'],
},
{
title: 'Buttons',
link: '/testing/buttons',
link: '/preview/buttons',
description:
'This is a page for viewing the additional palettes applied on buttons provided in this application.',
access: ['Everyone'],
Expand Down
2 changes: 1 addition & 1 deletion libs/usersrole-nx-app/user/src/lib/lib.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { UserComponent } from './user/user.component';

export const userRoutes: Route[] = [
{ path: '', component: UserComponent },
{ path: '/profile', component: UserComponent },
{ path: 'profile', component: UserComponent },
];

0 comments on commit 2db73a2

Please sign in to comment.