xxx
This commit is contained in:
@@ -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},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user