Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { Routes } from "@angular/router";
  2. import { AuthGuard } from "cis/shared";
  3.  
  4. import {
  5.     Action001Component,
  6.     Action002Component,
  7.     Action027Component,
  8.     Action031Component,
  9.     Action115Component,
  10.     Action084Component,
  11.     Action006Component,
  12.     Action018Component,
  13.     Action213Component
  14. } from "cis/action";
  15.  
  16. export const ActionRoutes: Routes = [
  17.     { path: 'action001/:caseId/:targetId/:targetType', component: Action001Component, canActivate: [AuthGuard] },
  18.     { path: 'action001/:caseId/:targetId/:targetType/:actionId', component: Action001Component, canActivate: [AuthGuard] },
  19.     { path: 'action002/:caseId/:targetId/:targetType', component: Action002Component, canActivate: [AuthGuard] },
  20.     { path: 'action002/:caseId/:targetId/:targetType/:actionId', component: Action002Component, canActivate: [AuthGuard] },
  21.     { path: 'action027/:caseId/:targetId/:targetType', component: Action027Component, canActivate: [AuthGuard] },
  22.     { path: 'action027/:caseId/:targetId/:targetType/:actionId', component: Action027Component, canActivate: [AuthGuard] },
  23.     { path: 'action031/:caseId/:targetId/:targetType', component: Action031Component, canActivate: [AuthGuard] },
  24.     { path: 'action031/:caseId/:targetId/:targetType/:actionId', component: Action031Component, canActivate: [AuthGuard] },
  25.     { path: 'action115/:caseId/:targetId/:targetType', component: Action115Component, canActivate: [AuthGuard] },
  26.     { path: 'action115/:caseId/:targetId/:targetType/:actionId', component: Action115Component, canActivate: [AuthGuard] },
  27.     { path: 'action084/:caseId/:targetId/:targetType', component: Action084Component, canActivate: [AuthGuard] },
  28.     { path: 'action084/:caseId/:targetId/:targetType/:actionId', component: Action084Component, canActivate: [AuthGuard] },
  29.     { path: 'action006/:caseId/:targetId/:targetType', component: Action006Component, canActivate: [AuthGuard] },
  30.     { path: 'action006/:caseId/:targetId/:targetType/:actionId', component: Action006Component, canActivate: [AuthGuard] },
  31.     { path: 'action018/:caseId/:targetId/:targetType', component: Action018Component, canActivate: [AuthGuard] },
  32.     { path: 'action018/:caseId/:targetId/:targetType/:actionId', component: Action018Component, canActivate: [AuthGuard] },
  33.     { path: 'action213/:caseId/:targetId/:targetType', component: Action213Component, canActivate: [AuthGuard] },
  34.     { path: 'action213/:caseId/:targetId/:targetType/:actionId', component: Action213Component, canActivate: [AuthGuard] }
  35. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement