Fixes bug on removing /grants
This commit is contained in:
parent
4e9a35605d
commit
2a1eeb92d3
|
@ -1,9 +1,10 @@
|
|||
// import { NgModule } from '@angular/core';
|
||||
// import { RouterModule, Routes } from '@angular/router';
|
||||
// import { GrantEditorComponent } from './editor/grant-editor.component';
|
||||
// import { GrantListingComponent } from './listing/grant-listing.component';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { GrantEditorComponent } from './editor/grant-editor.component';
|
||||
import { GrantListingComponent } from './listing/grant-listing.component';
|
||||
|
||||
// const routes: Routes = [
|
||||
// ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
|
||||
const routes: Routes = [
|
||||
// {
|
||||
// path: '',
|
||||
// component: GrantListingComponent,
|
||||
|
@ -27,10 +28,10 @@
|
|||
// title: 'GENERAL.TITLES.GRANT-NEW'
|
||||
// },
|
||||
// }
|
||||
// ];
|
||||
];
|
||||
|
||||
// @NgModule({
|
||||
// imports: [RouterModule.forChild(routes)],
|
||||
// exports: [RouterModule]
|
||||
// })
|
||||
// export class GrantRoutingModule { }
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class GrantRoutingModule { }
|
||||
|
|
Loading…
Reference in New Issue