Permalink
Browse files

Update bin/webjs

  • Loading branch information...
1 parent f166f01 commit 70f7affae1ae3aa6822274a767a2e0000ac2d25a @iwillwen committed Nov 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/webjs
View
2 bin/webjs
@@ -246,7 +246,7 @@ var index = [
].join('\r\n');
var router = [
'module.exports = function (web) {',
- ' web.get(\'/hello\' function (req, res) {',
+ ' web.get(\'/hello\', function (req, res) {',
(program.session || program.all ? ' if (isNaN(req.session.times))\r\n req.session.times = 0\r\n else\r\n req.session.times++;' : ''),
' res.render(\'hello\', {',
(program.session || program.all ? ' times: req.session.times,' : ''),

0 comments on commit 70f7aff

Please sign in to comment.