2017-02-18 20:21:34 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = function (app) {
|
|
|
|
|
|
|
|
app.route('/api/issues/:project')
|
|
|
|
|
|
|
|
.get(function (req, res){
|
2020-11-18 23:10:43 +01:00
|
|
|
let project = req.params.project;
|
2017-02-18 20:21:34 +01:00
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.post(function (req, res){
|
2020-11-18 23:10:43 +01:00
|
|
|
let project = req.params.project;
|
2017-02-18 20:21:34 +01:00
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.put(function (req, res){
|
2020-11-18 23:10:43 +01:00
|
|
|
let project = req.params.project;
|
2017-02-18 20:21:34 +01:00
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.delete(function (req, res){
|
2020-11-18 23:10:43 +01:00
|
|
|
let project = req.params.project;
|
2017-02-18 20:21:34 +01:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
};
|