Mercurial > cgi-bin > hgwebdir.cgi > POP > oldRepo
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:aeeff6d3f03d |
|---|---|
| 1 /* These are the functions that handle the various routes | |
| 2 */ | |
| 3 exports.index = function(req, res){ | |
| 4 res.render('index', { title: 'Express' }); | |
| 5 }; | |
| 6 | |
| 7 var temp = require('./foobar'); | |
| 8 exports.foobar = temp.foobar; | |
| 9 | |
| 10 var temp = require('./saveJSON'); | |
| 11 exports.saveJSON = temp.saveJSON; |
