| 1234567891011121314151617181920212223242526 |
- const participant_ctrl = require('../controllers/participant');
- module.exports = [
-
- {
- url: '/participant',
- method: 'get',
- func: participant_ctrl.get_all
- },
- {
- url: '/participant',
- method: 'post',
- func: participant_ctrl.create
- },
- {
- url: '/participant/:participant_id',
- method: 'get',
- func: participant_ctrl.get_by_id
- },
- {
- url: '/participant/:participant_id',
- method: 'delete',
- func: participant_ctrl.delete_by_id
- }
-
- ];
|