Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
This looked like a typo, but please close/disregard if I'm mistaken.
  • Loading branch information
jordaaash committed Sep 6, 2017
1 parent bc3e952 commit 0e09ea8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Router.js
Original file line number Diff line number Diff line change
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 0e09ea8

Please sign in to comment.