Project

General

Profile

« Previous | Next » 

Revision 59070

[Trunk | Explore]: Remove IsRouteEnabled guard from landing and search pages (these pages should load even when not active - existing links from other pages).

View differences:

libSoftware.module.ts
6 6
import { RouterModule } from '@angular/router';
7 7
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard';
8 8
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
9
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
10 9
import { OpenaireSoftwareComponent } from './software.component';
11 10
import {SoftwareRoutingModule} from './software-routing.module';
12 11
import {ResultLandingModule} from "../../openaireLibrary/landingPages/result/resultLanding.module";
13 12
@NgModule({
14 13
  imports: [SoftwareRoutingModule, ResultLandingModule],
15 14
  declarations:[OpenaireSoftwareComponent],
16
  providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
15
  providers:[FreeGuard, PreviousRouteRecorder],
17 16
  exports:[OpenaireSoftwareComponent]
18 17
})
19 18
export class LibSoftwareModule { }

Also available in: Unified diff