amcgee/remjs

View on GitHub
lib/actions/helpers/save-id.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = function(req, res, next) {
    req.rem.bound_id = req.rem.bound_id || {};
    req.rem.bound_id[this.name] = req.params.id;
    next();
};