codeBelt/NodeJS — pull request #2 by codeBelt (2014-11-08 15:31:48+00:00)
Title: Revert "Binds findAllImages method in HomeController"

Reverts codeBelt/NodeJS#1

Reverting because it does work when you remove the code below (line 30-38) which we are that we are trying to replace.

```
ImageModel.find({}, {}, { sort: { timestamp: -1 }},
function(err, images) {
if (err) { throw err; }

viewModel.images = images;
sidebar(viewModel, function(viewModel) {
res.render('index', viewModel);
});
});
```