/**
 * Created through mkmodule
 */

import { NgModule }             from '@angular/core'
import { RouterModule, Routes } from '@angular/router'

import { AppHelper }            from '@k-settings/app-helper'

import { ConfiguratorPartial_IDEmobler }  from './partial/cmp.configurator-partial'
import { UserGuard } from '@k-guards/guard.User'

const routes: Routes = [
    {
        path: '',
        canActivate: [UserGuard],
        component: ConfiguratorPartial_IDEmobler,
        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: ConfiguratorPartial_IDEmobler
            }
        ]
    }
];


@NgModule({
    imports: [
        RouterModule.forChild(routes)
    ],
    exports: [
        RouterModule
    ]
})
export class ConfiguratorRouting { }