argos/dmp-frontend/src/app/ui/grant/grant.routing.ts

38 lines
871 B
TypeScript
Raw Normal View History

2019-10-04 10:02:36 +02:00
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';
2018-01-30 10:35:26 +01:00
2019-10-04 10:02:36 +02:00
// ----------- UNCOMMENT TO ADD AGAIN GRANTS --------
const routes: Routes = [
// {
// path: '',
// component: GrantListingComponent,
// data: {
// breadcrumb: true
// },
// },
// {
// path: 'edit/:id',
// component: GrantEditorComponent,
// data: {
// breadcrumb: true,
// title: 'GENERAL.TITLES.GRANT-EDIT'
// }
// },
// {
// path: 'new',
// component: GrantEditorComponent,
// data: {
// breadcrumb: true,
// title: 'GENERAL.TITLES.GRANT-NEW'
// },
// }
];
2018-01-30 10:35:26 +01:00
2019-10-04 10:02:36 +02:00
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class GrantRoutingModule { }