openaire-library/landingPages/project/project-routing.module.ts

19 lines
674 B
TypeScript
Raw Normal View History

// import { NgModule } from '@angular/core';
// import { RouterModule } from '@angular/router';
//
// import { ProjectComponent } from './project.component';
// import {FreeGuard} from'../../login/freeGuard.guard';
// import {PreviousRouteRecorder} from'../../utils/piwik/previousRouteRecorder.guard';
// import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
//
// @NgModule({
// imports: [
// RouterModule.forChild([
// { path: '', component: ProjectComponent, canActivate: [FreeGuard, IsRouteEnabled], data: {
// redirect: '/error'
// },canDeactivate: [PreviousRouteRecorder] }
// ])
// ]
// })
// export class ProjectRoutingModule { }