Last active
August 29, 2015 14:00
-
-
Save frankrowe/0d29a63f49befc55bbd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express') | |
, csvorjson = require('csvorjson') | |
var workController = express.Router() | |
workController.get('/jobs', function(req, res, next) { | |
runquery(function(data){ | |
csvorjson(req, res, data) | |
} | |
}) | |
module.exports = workController |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment