homeRoute.js 223 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 'use strict'; module.exports = function(app) { app.get('/', function(req, res) { res.render('index', { renderErrors: {}, //req.flash('error') app: app.config.app }); }); };