/**
 * Created through mkmodule
 */

 import { NgModule }             from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
 
 import { SegaConfiguratorPartial }  from './partial/cmp.configurator-partial'
 
 // Guards
 import { UserGuard } from '@k-core/guards/guard.User'
 
 const routes: Routes = [
     {
         path: '',
         canActivate: [UserGuard],
         component: SegaConfiguratorPartial,
         children: [
 
             // This is a WILDCARD CATCH-ALL route that is scoped to the "/app/a"
             // route prefix. It will only catch non-matching routes that live
             // within this portion of the router tree.
             {
                 path: "**",
                 component: SegaConfiguratorPartial
             }
         ]
     }
 ];
 
 @NgModule({
     imports: [
         RouterModule.forChild(routes)
     ],
     exports: [
         RouterModule
     ]
 })
 export class ConfiguratorRouting { }
 
 