1 import { Routes } from '@angular/router'
2 import { EditCustomConfigComponent } from '@app/+admin/config/edit-custom-config'
3 import { UserRightGuard } from '@app/core'
4 import { UserRight } from '@shared/models'
6 export const ConfigRoutes: Routes = [
9 canActivate: [ UserRightGuard ],
11 userRight: UserRight.MANAGE_CONFIGURATION
16 redirectTo: 'edit-custom',
21 component: EditCustomConfigComponent,
24 title: $localize`Edit custom configuration`