Commit 7fd2164f authored by Maxime REYROLLE's avatar Maxime REYROLLE

create dashboard route

parent 64ef027e
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
const routes: Routes = [];
import {DashboardComponent} from './dashboard/dashboard.component';
const routes: Routes = [
{
path: 'dashboard',
children: [
{
path: ':local_government_id',
component: DashboardComponent
},
],
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class DashboardRoutingModule { }
export class DashboardRoutingModule {
}
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