@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
13 lines (9 loc) • 377 B
text/typescript
/* eslint-disable no-param-reassign */
import { Router } from 'express'
import MissingReportSubmittedController from './controller'
export default function routes({ layoutPath }: { layoutPath: string }) {
const router = Router({ mergeParams: true })
const controller = new MissingReportSubmittedController(layoutPath)
router.get(`/`, controller.GET)
return router
}