This commit is contained in:
Bastian Wagner
2024-10-25 12:32:26 +02:00
parent d4f1fbbf39
commit b4e264eda9
40 changed files with 538 additions and 66 deletions

View File

@@ -8,13 +8,15 @@ import { DashboardComponent } from './modules/dashboard/dashboard.component';
import { AllUsersComponent } from './modules/admin/all-users/all-users.component';
import { KeysComponent } from './modules/keys/keys.component';
import { CylinderComponent } from './modules/cylinder/cylinder.component';
import { SystemComponent } from './modules/system/system.component';
export const routes: Routes = [
{ path: '', component: LayoutComponent, canActivate: [AuthenticatedGuard], children: [
{ path: '', component: DashboardComponent },
{ path: 'users', component: AllUsersComponent },
{ path: 'keys', component: KeysComponent },
{ path: 'cylinders', component: CylinderComponent }
{ path: 'cylinders', component: CylinderComponent },
{ path: 'systems', component: SystemComponent }
]},
{ path: 'login', component: LoginComponent},
];