diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/1__Development/6__Website/POPExpressServer/routes/routeHdlrs.js	Sun Aug 03 23:38:15 2014 -0700
     1.3 @@ -0,0 +1,11 @@
     1.4 +/* These are the functions that handle the various routes 
     1.5 + */
     1.6 +exports.index = function(req, res){
     1.7 +  res.render('index', { title: 'Express' });
     1.8 +};
     1.9 +
    1.10 +var temp = require('./foobar');
    1.11 +exports.foobar = temp.foobar;
    1.12 +
    1.13 +var temp = require('./saveJSON');
    1.14 +exports.saveJSON = temp.saveJSON;
    1.15 \ No newline at end of file