Commit 64e32639 authored by George Kalampokis's avatar George Kalampokis

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

parent 4e7e2691
......@@ -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
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment