nus-mtp/attack-on-tutor

View on GitHub
source/controller/error.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * @module controllers/index
 * @type {*|exports|module.exports}
 */

/**
 * Default index page
 * return HTML
 * @param req
 * @param res
 * @param next
 */
var get = function (req, res, next)
{
    res.render
    (
        'error',
        {
            title: 'Error Page'
        }
    );
}

module.exports.get = get;