7 lines
145 B
JavaScript
7 lines
145 B
JavaScript
module.exports = (app) => {
|
|
const view = require('../controllers/view.controller');
|
|
|
|
app.route('/view/:recipeId')
|
|
.get(view.findOne);
|
|
};
|