2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-09 13:10:44 +00:00
RTL/routes/channels.js
2018-09-14 21:31:01 -04:00

10 lines
319 B
JavaScript

const ChannelsController = require("../controllers/channels");
const express = require("express");
const router = express.Router();
router.get("/", ChannelsController.getChannels);
router.get("/:channelType", ChannelsController.getChannels);
router.post("/", ChannelsController.postChannel);
module.exports = router;