/* Home controller. */

var productDao = require('../service/dao/product.js');

/**
 * Home page.
 * 
 * @param object request Request parameters.
 * @param object response Response parameters.
 */
exports.index = function(request, response) {
    productsDao.findAll(function(rows) {
        productDao.render('home/index', { products: rows} );
    });
};

@@ -248,17 +248,16 @@
  product
-s
 Dao.find
@@ -285,26 +285,24 @@
         
-productDao
+response
 .render(

Fix DAO access on home