Project

General

Profile

« Previous | Next » 

Revision 46737

options for more memory in package.json |Claims: add root community in the list of concepts , add fields/parsing for direct index claim, create direct index claim record | Create Guards for routes that need authentication or admin roles | scroll in browse results| login component that works with guards

View differences:

myClaims-routing.module.ts
1 1
import { NgModule } from '@angular/core';
2 2
import { RouterModule } from '@angular/router';
3
import { LoginGuard} from'../../login/loginGuard.guard';
3 4

  
4 5
import { MyClaimsComponent } from './myClaims.component';
5 6

  
6 7
@NgModule({
7 8
  imports: [
8 9
    RouterModule.forChild([
9
      { path: '', component: MyClaimsComponent},
10
      { path: '', component: MyClaimsComponent, canActivate: [LoginGuard]},
10 11

  
11 12
    ])
12 13
  ]

Also available in: Unified diff