Add full project files
This commit is contained in:
9
routes/panel/expertise/index.js
Normal file
9
routes/panel/expertise/index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const express = require('express')
|
||||
const { createExpertise, createSubExpertise, getExpertise, editExpertise } = require('../../../controllers/panel/expertise/expertiseController')
|
||||
const router = express.Router()
|
||||
router.get('/', getExpertise)
|
||||
router.post('/create', createExpertise)
|
||||
router.post('/create/sub', createSubExpertise)
|
||||
router.put('/update/:id', editExpertise)
|
||||
|
||||
module.exports = router
|
||||
Reference in New Issue
Block a user