todoListRoutes updated.

This commit is contained in:
joewaa 2017-06-11 07:25:01 +08:00 committed by GitHub
parent c0ee6476a0
commit b25b42c13d

View file

@ -2,6 +2,9 @@
module.exports = function(app) {
//var todoList = require('../controllers/todoListController');
app.route('/api/test')
.get((req,res)=>{ res.send('testing here'); });
app.get('/tasks',(req, res) => {
res.send('Tasks is here')
});