Newer
Older
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { DEBUG_INFO_ENABLED } from 'app/app.constants';
import { UserRouteAccessService } from 'app/core/auth/user-route-access-service';
import { pagesRoutes } from 'app/editorialPages/pages.route';
import { Authority } from 'app/shared/constants/authority.constants';
import { DatapolicyComponent } from './layouts/datapolicy/datapolicy.component';
import { errorRoute } from './layouts/error/error.route';
import { navbarRoute } from './layouts/navbar/navbar.route';
const LAYOUT_ROUTES = [navbarRoute, ...errorRoute];
export const gitSearchRoutes = [
{
path: 'admin',
data: {
loadChildren: () => import('./admin/admin-routing.module').then(m => m.AdminRoutingModule)
loadChildren: () => import('./account/account.module').then(m => m.AccountModule)
loadChildren: () => import('app/search/search.module').then(m => m.SearchModule)
loadChildren: () => import('app/bookmarks/bookmarks.module').then(m => m.BookmarskModule)
},
{
path: 'datapolicy',
component: DatapolicyComponent
loadChildren: () => import('app/exercise/import/exercise-import.module').then(m => m.ExerciseImportModule)
imports: [RouterModule.forRoot(gitSearchRoutes, { enableTracing: DEBUG_INFO_ENABLED })],
export class GitSearchV2AppRoutingModule {}