Fixes bug on removing /grants

This commit is contained in:
apapachristou 2019-10-04 11:02:36 +03:00
parent 4e9a35605d
commit 2a1eeb92d3
1 changed files with 35 additions and 34 deletions

View File

@ -1,36 +1,37 @@
// import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
// import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
// import { GrantEditorComponent } from './editor/grant-editor.component'; import { GrantEditorComponent } from './editor/grant-editor.component';
// import { GrantListingComponent } from './listing/grant-listing.component'; import { GrantListingComponent } from './listing/grant-listing.component';
// const routes: Routes = [ // ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
// { const routes: Routes = [
// path: '', // {
// component: GrantListingComponent, // path: '',
// data: { // component: GrantListingComponent,
// breadcrumb: true // data: {
// }, // breadcrumb: true
// }, // },
// { // },
// path: 'edit/:id', // {
// component: GrantEditorComponent, // path: 'edit/:id',
// data: { // component: GrantEditorComponent,
// breadcrumb: true, // data: {
// title: 'GENERAL.TITLES.GRANT-EDIT' // breadcrumb: true,
// } // title: 'GENERAL.TITLES.GRANT-EDIT'
// }, // }
// { // },
// path: 'new', // {
// component: GrantEditorComponent, // path: 'new',
// data: { // component: GrantEditorComponent,
// breadcrumb: true, // data: {
// title: 'GENERAL.TITLES.GRANT-NEW' // breadcrumb: true,
// }, // title: 'GENERAL.TITLES.GRANT-NEW'
// } // },
// ]; // }
];
// @NgModule({ @NgModule({
// imports: [RouterModule.forChild(routes)], imports: [RouterModule.forChild(routes)],
// exports: [RouterModule] exports: [RouterModule]
// }) })
// export class GrantRoutingModule { } export class GrantRoutingModule { }