From 777dabd086c5e2b0f0253213150d689743c0fb0d Mon Sep 17 00:00:00 2001 From: geek Date: Tue, 13 Mar 2018 18:29:40 +0900 Subject: [PATCH] menu name added --- src/app/app-routing.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 3591bec..291be0a 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -3,8 +3,8 @@ import { Routes, RouterModule, PreloadAllModules } from '@angular/router'; import { AuthGuard } from './commons/guard/auth.guard'; const routes: Routes = [ - // { path: '', loadChildren: './pages/pages.module#PagesModule', canActivate: [AuthGuard] }, - { path: '', loadChildren: './pages/pages.module#PagesModule' }, + { path: '', loadChildren: './pages/pages.module#PagesModule', canActivate: [AuthGuard] }, + // { path: '', loadChildren: './pages/pages.module#PagesModule' }, { path: 'auth', loadChildren: './pages/auth/auth-page.module#AuthPageModule' }, { path: 'errors', loadChildren: './pages/errors/errors-page.module#ErrorsPageModule' }, // { path: '**', redirectTo: 'errors/404' }