feat: add organization component
- Add organization component - Add organization module Fixes #323
This commit is contained in:
committed by
Jivjyot Singh
parent
091458765c
commit
ad433d0180
@@ -0,0 +1,40 @@
|
||||
/** Angular Imports */
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
/** Routing Imports */
|
||||
import { Route } from '../core/route/route.service';
|
||||
|
||||
/** Translation Imports */
|
||||
import { extract } from '../core/i18n/i18n.service';
|
||||
|
||||
/** Custom Components */
|
||||
import { OrganizationComponent } from './organization.component';
|
||||
|
||||
/** Organization Routes */
|
||||
const routes: Routes = [
|
||||
Route.withShell([
|
||||
{
|
||||
path: 'organization',
|
||||
data: { title: extract('Organization'), breadcrumb: 'Organization' },
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: OrganizationComponent
|
||||
}
|
||||
]
|
||||
}
|
||||
])
|
||||
];
|
||||
|
||||
/**
|
||||
* Organization Routing Module
|
||||
*
|
||||
* Configures the organization routes.
|
||||
*/
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
providers: []
|
||||
})
|
||||
export class OrganizationRoutingModule { }
|
||||
Reference in New Issue
Block a user