merging main
This commit is contained in:
@@ -13,7 +13,7 @@ import {StatisticsComponent} from './statistics/statistics.component';
|
||||
const routes: Routes = [
|
||||
// Seiten ohne Layout
|
||||
{ path: 'landing', component: HomeComponent },
|
||||
{ path: 'poc-model', component: PocModelComponent },
|
||||
{ path: 'poc-model', component: PocModelComponent, data: { allowMobile: true } },
|
||||
|
||||
// Seiten mit MainLayout
|
||||
{
|
||||
@@ -29,12 +29,6 @@ const routes: Routes = [
|
||||
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
|
||||
},
|
||||
{ path: 'selection/performance/:id', component: TheaterOverlayComponent},
|
||||
{
|
||||
path: 'admin/statistics',
|
||||
component: StatisticsComponent,
|
||||
canActivate: [AuthGuard],
|
||||
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user