Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor

  • Loading branch information...
commit 26ecd850648b208d87b753c99b0b4821a15f6759 1 parent b8a1f75
@nrstott authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/router.js
View
2  lib/router.js
@@ -186,7 +186,7 @@ Router.prototype.respond = function(reqPromise) {
return when(reqPromise, function(req) {
var
route = self.handler(req.method, req.pathInfo),
- routeParams = Object.create(Object.prototype),
+ routeParams = {},
routeParamValues = null;
if (util.no(route)) {
Please sign in to comment.
Something went wrong with that request. Please try again.