18 lines
284 B
JavaScript
18 lines
284 B
JavaScript
/**
|
|
* 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);
|
|
|
|
app.route('/readall')
|
|
.put(apply.markAllRead);
|
|
};
|