/** * Copyright since 2025 Mifos Initiative * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { Route } from '../core/route/route.service'; import { OtpAuditLogsComponent } from './otp-audit-logs.component'; import { ViewOtpLogComponent } from './view-otp-log/view-otp-log.component'; const routes: Routes = [ Route.withShell([ { path: 'otp-audit-logs', data: { title: 'OTP Audit Logs', breadcrumb: 'OTP Audit Logs' }, children: [ { path: '', component: OtpAuditLogsComponent }, { path: ':id', component: ViewOtpLogComponent, data: { title: 'OTP Log Detail', breadcrumb: 'Detail' } } ] } ]) ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) export class OtpAuditLogsRoutingModule {}