Add AuthGuard on the quick-wizard module (ref #227)

This commit is contained in:
George Kalampokis 2020-01-20 11:42:11 +02:00
parent 4e7e269130
commit 64e326396a
1 changed files with 2 additions and 0 deletions

View File

@ -2,11 +2,13 @@ import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { QuickWizardEditorComponent } from './quick-wizard-editor/quick-wizard-editor.component';
import { CanDeactivateGuard } from '../../library/deactivate/can-deactivate.guard';
import { AuthGuard } from '@app/core/auth-guard.service';
const routes: Routes = [
{
path: '',
component: QuickWizardEditorComponent,
canActivate: [AuthGuard],
data: {
breadcrumb: true
},