backend/src/routes/timetable2.routes.ts
Fred Boniface 24bbf5df87 Port routes to TS
Signed-off-by: Fred Boniface <fred@fjla.uk>
2023-09-26 20:39:25 +01:00

9 lines
217 B
TypeScript

const express = require("express");
const router = express.Router();
const ttCtr = require("../controllers/train.controllers");
// PIS
router.get("/train/:date/:searchType/:id", ttCtr.get);
module.exports = router;