Permalink
Browse files

whoops, direct commit is so much simpler.

  • Loading branch information...
1 parent 65742aa commit 73f2b1c0e0224e1adc5a21b0198abeacdf6fb0f8 @joshbuddy committed Jan 18, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/sherpa.js
View
4 lib/sherpa.js
@@ -336,9 +336,9 @@ Sherpa.interfaces.NodeJs.prototype = {
var response = router.recognize(httpRequest.uri.path, httpRequest);
if (response) {
httpRequest.sherpa_response = response;
- response.destination.call(undefined, httpRequest, httpResponse);
+ response.destination(httpRequest, httpResponse);
} else {
- notFound.call(undefined, httpRequest, httpResponse);
+ notFound(httpRequest, httpResponse);
}
}

0 comments on commit 73f2b1c

Please sign in to comment.