const tache_ctrl = require('../controllers/tache');

module.exports = [
	
	{
		url: '/tache',
		method: 'get',
		func: [ tache_ctrl.get_all ]
	},
	{
		url: '/tache',
		method: 'post',
		func: [ tache_ctrl.create ]
	},
	{
		url: '/tache/:tache_id',
		method: 'get',
		func: [ tache_ctrl.get_by_id ]
	},
	{
		url: '/tache/:tache_id',
		method: 'delete',
		func: [ tache_ctrl.delete_by_id ]
	}
	
];
