2020-05-25 13:51:52 +00:00
|
|
|
/**
|
|
|
|
* Created by WebStorm.
|
|
|
|
* User: martin
|
|
|
|
* Date: 25/05/2020
|
|
|
|
* Time: 13:36
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
const apply = require('../controllers/apply.controller');
|
|
|
|
|
|
|
|
module.exports = (app) => {
|
|
|
|
app.route('/apply/:id')
|
|
|
|
.put(apply.markApplied);
|
2020-05-26 08:31:51 +00:00
|
|
|
|
|
|
|
app.route('/readall')
|
|
|
|
.put(apply.markAllRead);
|
2020-05-25 13:51:52 +00:00
|
|
|
};
|