Mercurial > cgi-bin > hgwebdir.cgi > POP > oldRepo
view 1__Development/6__Website/POPExpressServer/routes/routeHdlrs.js @ 5:e73fbbcb5fd2
Persisting basic graph works, starting to add persist of view hierarchy too
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Sun, 03 Aug 2014 23:38:15 -0700 |
| parents | |
| children |
line source
1 /* These are the functions that handle the various routes
2 */
3 exports.index = function(req, res){
4 res.render('index', { title: 'Express' });
5 };
7 var temp = require('./foobar');
8 exports.foobar = temp.foobar;
10 var temp = require('./saveJSON');
11 exports.saveJSON = temp.saveJSON;
