diff options
| author | yo mama <pepper@scannerjammer.com> | 2014-12-05 19:17:43 -0800 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2014-12-05 19:17:43 -0800 |
| commit | e387304922f6379cebebaaa511c608855d8acba1 (patch) | |
| tree | 80b1e72d70ca2fd09b8dad239fbdb994f440cc64 /controllers/index.js | |
| parent | 802bbc5a0e49a627ab8001d5b30509688959f06b (diff) | |
added branch ejsejs
Diffstat (limited to 'controllers/index.js')
| -rwxr-xr-x | controllers/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/index.js b/controllers/index.js index 71ca5d4..9bb524a 100755 --- a/controllers/index.js +++ b/controllers/index.js @@ -1,4 +1,4 @@ var rendering = require('../config/rendering');
exports.main = function(req, res) {
- res.json('hello world');
+ res.render('main', { foo: 'bar' });
}
|
