yog2-kernel
Advanced tools
Comparing version 0.2.5 to 0.2.6
{ | ||
"name": "yog2-kernel", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "yog2 kernel", | ||
@@ -52,2 +52,2 @@ "main": "index.js", | ||
} | ||
} | ||
} |
@@ -159,4 +159,8 @@ 'use strict'; | ||
} else { | ||
debuglog('excute action [%s] with default action method', action.__name__); | ||
action(req, res, next); | ||
if (typeof action === 'function') { | ||
debuglog('excute action [%s] with default action method', action.__name__); | ||
action(req, res, next); | ||
} else { | ||
next(); | ||
} | ||
} | ||
@@ -163,0 +167,0 @@ } |
43002
29
1102