mirror of
https://github.com/franjsco/tick3t-api
synced 2025-06-05 22:09:20 +02:00
feat(database): add categories route
This commit is contained in:
8
src/routes/categories.js
Normal file
8
src/routes/categories.js
Normal file
@ -0,0 +1,8 @@
|
||||
const express = require('express');
|
||||
|
||||
const router = express.Router();
|
||||
const categoriesController = require('../controllers/category');
|
||||
|
||||
router.get('/', categoriesController.getById);
|
||||
|
||||
module.exports = router;
|
Reference in New Issue
Block a user