Skip to content

Commit

Permalink
Fixed front page.
Browse files Browse the repository at this point in the history
  • Loading branch information
justmoon committed Apr 9, 2011
1 parent b968286 commit df8d95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/createRouter.js
Expand Up @@ -21,7 +21,7 @@ var createRouter = exports.createRouter = function createRouter( module, options
router.map(function (map) {

if(options.bindroot !== false){
map.root.bind(function(res){
map.root.bind(function(reg, res){
res.send(200, {'Content-Type': 'text/html'}, ws.view.renderRoutes('html', '', routes, template.toString()));
});
}
Expand Down

0 comments on commit df8d95d

Please sign in to comment.