Skip to content

Commit

Permalink
Merge 0e09ea8 into bc3e952
Browse files Browse the repository at this point in the history
  • Loading branch information
jordaaash committed Sep 6, 2017
2 parents bc3e952 + 0e09ea8 commit f55011d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Router.js
Expand Up @@ -186,7 +186,7 @@ class Router {

// ----------------

function preBottom(ctx, goToButtonMiddleware) {
function preBottom(ctx, goToBottomMiddleware) {
// If no route match or no methods are defined, go to next middleware
if (node.isGag || !node.methods.size) {
return next()
Expand All @@ -199,7 +199,7 @@ class Router {
return
}

return goToButtonMiddleware()
return goToBottomMiddleware()
}
}
}
Expand All @@ -226,4 +226,4 @@ function getMiddleware(methods, method) {
}


module.exports = Router
module.exports = Router

0 comments on commit f55011d

Please sign in to comment.