25 lines
377 B
JavaScript
25 lines
377 B
JavaScript
/**
|
|
* Created by WebStorm.
|
|
* User: martin
|
|
* Date: 10/09/2020
|
|
* Time: 16:06
|
|
|
|
*/
|
|
/**
|
|
* Created by WebStorm.
|
|
* User: martin
|
|
* Date: 25/05/2020
|
|
* Time: 13:36
|
|
|
|
*/
|
|
|
|
const apply = require('../controllers/apply.v2.controller');
|
|
|
|
module.exports = (app) => {
|
|
app.route('/v2/apply/:id')
|
|
.put(apply.markApplied);
|
|
|
|
app.route('/v2/readall')
|
|
.put(apply.markAllRead);
|
|
};
|