mirror of https://github.com/franjsco/tick3t-api
feat(database): add categories route
This commit is contained in:
parent
591810d484
commit
7f4bd21864
|
@ -0,0 +1,8 @@
|
||||||
|
const express = require('express');
|
||||||
|
|
||||||
|
const router = express.Router();
|
||||||
|
const categoriesController = require('../controllers/category');
|
||||||
|
|
||||||
|
router.get('/', categoriesController.getById);
|
||||||
|
|
||||||
|
module.exports = router;
|
Loading…
Reference in New Issue