Revision 58605
Added by Konstantinos Triantafyllou almost 4 years ago
nationalBulletinsPage-routing.module.ts | ||
---|---|---|
1 | 1 |
import { NgModule } from '@angular/core'; |
2 | 2 |
import { RouterModule } from '@angular/router'; |
3 |
import {NaionalBulletinPageComponent} from './nationalBulletinsPage.component'; |
|
3 |
import {NationalBulletinPageComponent} from './nationalBulletinsPage.component';
|
|
4 | 4 |
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; |
5 | 5 |
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; |
6 | 6 |
import {IsRouteEnabled} from "../../openaireLibrary/error/isRouteEnabled.guard"; |
... | ... | |
8 | 8 |
@NgModule({ |
9 | 9 |
imports: [ |
10 | 10 |
RouterModule.forChild([ |
11 |
{ path: '', component: NaionalBulletinPageComponent, canActivate: [FreeGuard, IsRouteEnabled], canDeactivate: [PreviousRouteRecorder] } |
|
11 |
{ path: '', component: NationalBulletinPageComponent, canActivate: [FreeGuard, IsRouteEnabled], canDeactivate: [PreviousRouteRecorder] }
|
|
12 | 12 |
|
13 | 13 |
]) |
14 | 14 |
] |
Also available in: Unified diff
[Connect | Trunk]: Add breadcrumbs on content, national bulletins and projects pages