Added my-account page with logout functionality
This commit is contained in:
@@ -53,10 +53,15 @@ const routes: Routes = [
|
||||
canActivate: [AuthGuard],
|
||||
},
|
||||
{
|
||||
path: 'logout',
|
||||
path: 'logga-ut',
|
||||
data: { title: 'Logga ut' },
|
||||
loadChildren: () => import('./pages/logout/logout.module').then(m => m.LogoutModule),
|
||||
},
|
||||
{
|
||||
path: 'mitt-konto',
|
||||
data: { title: 'Mitt konto' },
|
||||
loadChildren: () => import('./pages/my-account/my-account.module').then(m => m.MyAccountModule),
|
||||
},
|
||||
];
|
||||
|
||||
if (!environment.production) {
|
||||
|
||||
Reference in New Issue
Block a user