7c424a069e
Added read marking
19 lines
290 B
JavaScript
19 lines
290 B
JavaScript
/**
|
|
* Created by WebStorm.
|
|
* User: martin
|
|
* Date: 18/05/2020
|
|
* Time: 13:39
|
|
|
|
*/
|
|
|
|
const jobs = require('../controllers/jobs.controller');
|
|
|
|
module.exports = (app) => {
|
|
app.route('/jobs')
|
|
.get(jobs.getList);
|
|
|
|
app.route('/jobs/:id')
|
|
.get(jobs.getJob)
|
|
.put(jobs.readJob);
|
|
};
|