removed debug statements, adding missing file re: issue #3

This commit is contained in:
Julian Lam
2013-06-20 16:29:20 -04:00
parent e75e0011e2
commit 0d954b24dc
4 changed files with 85 additions and 7 deletions

View File

@@ -158,7 +158,6 @@ var express = require('express'),
var category_url = cid + (req.params.slug ? '/' + req.params.slug : '');
categories.getCategoryById(cid, 0, function(returnData) {
console.log(returnData);
res.send(
app.build_header() +
'\n\t<noscript>\n' + templates['noscript/header'] + templates['noscript/category'].parse(returnData) + '\n\t</noscript>' +
@@ -293,8 +292,6 @@ var express = require('express'),
app.all('/test', function(req, res) {
res.send();
// console.log('CSRF is: ', res.locals.token);
// res.send('<form method="POST" action="/test"><input type="hidden" name="_csrf" value="' + res.locals.token + '" /><button type="submit">go</button></form>');
});