Ride-The-Lightning-RTL/routes/switch.js

9 lines
262 B
JavaScript

const SwitchController = require("../controllers/switch");
const express = require("express");
const router = express.Router();
const authCheck = require("./authCheck");
router.post("/", authCheck, SwitchController.forwardingHistory);
module.exports = router;