Commit 003c046e authored by Maxime REYROLLE's avatar Maxime REYROLLE

add guard to dashboard route

parent 3eb4c3d4
Pipeline #1307 passed with stage
in 14 minutes and 6 seconds
......@@ -2,10 +2,12 @@ import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {DashboardComponent} from './dashboard/dashboard.component';
import {AuthenticationGuard} from '../authentication/guard/authentication.guard';
const routes: Routes = [
path: 'dashboard',
canActivate: [AuthenticationGuard],
children: [
path: ':local_government_id',
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