9 lines
217 B
TypeScript
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;
|