Mercurial > cgi-bin > hgwebdir.cgi > POP > oldRepo
comparison 1__Development/6__Website/POPExpressServer/routes/routeHdlrs.js @ 7:20a1407463a0
sort of working with view sets -- does restore, (not tested) have to chg Display to handle view sets
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 07 Aug 2014 00:10:50 -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; |
